Skip to content

Commit c243402

Browse files
committed
Explicitly release AudioRecorder on transcription stop
1 parent 597a524 commit c243402

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

android_mic_streaming/app/src/main/java/org/deepspeechdemo/MainActivity.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ class MainActivity : AppCompatActivity() {
7070
}
7171

7272
recorder.stop()
73+
recorder.release()
7374
}
7475
}
7576

0 commit comments

Comments
 (0)