Searched refs:audioRecord (Results 1 – 3 of 3) sorted by relevance
206 AudioRecord audioRecord = in allocAudioRecord() local212 return audioRecord; in allocAudioRecord()218 public void onRoutingChanged(AudioRecord audioRecord) {} in onRoutingChanged() argument235 AudioRecord audioRecord = allocAudioRecord(); in test_audioRecord_RoutingListener() local239 audioRecord.addOnRoutingChangedListener( in test_audioRecord_RoutingListener()242 audioRecord.addOnRoutingChangedListener( in test_audioRecord_RoutingListener()251 audioRecord.addOnRoutingChangedListener( in test_audioRecord_RoutingListener()254 audioRecord.addOnRoutingChangedListener( in test_audioRecord_RoutingListener()261 audioRecord.removeOnRoutingChangedListener( in test_audioRecord_RoutingListener()264 audioRecord.removeOnRoutingChangedListener( in test_audioRecord_RoutingListener()[all …]
31 private AudioRecord audioRecord; field in AudioRecordHelper76 audioRecord = new AudioRecord(source, sampleRate, CHANNEL, ENCODING, bufferSize); in start()77 audioRecord.startRecording(); in start()88 audioRecord.stop(); in stop()89 audioRecord.release(); in stop()90 audioRecord = null; in stop()105 int read = audioRecord.read(data, 0, bufferSize); in startPullingData()
72 public void onRoutingChanged(AudioRecord audioRecord) { in onRoutingChanged() argument78 AudioDeviceInfo routedDevice = audioRecord.getRoutedDevice(); in onRoutingChanged()105 AudioRecord audioRecord = mAudioRecorder.getAudioRecord(); in onCreate() local106 audioRecord.addOnRoutingChangedListener( in onCreate()