Example #1
0
 private void stopRecording() {
   if (audioStreamProcessor.isStopped()) return;
   audioStreamProcessor.stop();
 }
Example #2
0
 private void start() throws IOException {
   Log.i(LOG_TAG, "Starting audio recorder");
   audioStreamProcessor = new AudioStreamProcessor(samplingSpec, null);
   audioStreamProcessor.start();
 }