stop

fun stop()

Stops the sound detection process and releases the resources used by the AudioRecord.