Home
last modified time | relevance | path

Searched refs:mDuplexAudioManager (Results 1 – 4 of 4) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioLoopbackCalibrationDialog.java56 private DuplexAudioManager mDuplexAudioManager; field in AudioLoopbackCalibrationDialog
95 mDuplexAudioManager = new DuplexAudioManager(null, null); in AudioLoopbackCalibrationDialog()
169 mDuplexAudioManager.setSources(sourceProvider, mAudioSinkProvider); in startAudio()
170 mDuplexAudioManager.setPlayerRouteDevice(mSelectedOutputDevice); in startAudio()
171 mDuplexAudioManager.setNumPlayerChannels(2); in startAudio()
174 mDuplexAudioManager.setRecorderRouteDevice(mSelectedInputDevice); in startAudio()
181 mDuplexAudioManager.setNumRecorderChannels(mNumDisplayChannels); in startAudio()
185 if (mDuplexAudioManager.buildStreams(BuilderBase.TYPE_OBOE, BuilderBase.TYPE_OBOE) in startAudio()
187 && mDuplexAudioManager.start() == StreamBase.OK) { in startAudio()
196 mDuplexAudioManager.stop(); in stopAudio()
DAudioDataPathsBaseActivity.java108 private DuplexAudioManager mDuplexAudioManager; field in AudioDataPathsBaseActivity
621 mDuplexAudioManager.setSources(mSourceProvider, mSinkProvider); in startTest()
622 mDuplexAudioManager.setPlayerRouteDevice(mOutDeviceInfo); in startTest()
623 mDuplexAudioManager.setPlayerSampleRate(mOutSampleRate); in startTest()
624 mDuplexAudioManager.setNumPlayerChannels(mOutChannelCount); in startTest()
625 mDuplexAudioManager.setPlayerSharingMode(mTransferType == TRANSFER_MMAP_EXCLUSIVE in startTest()
629 mDuplexAudioManager.setRecorderRouteDevice(mInDeviceInfo); in startTest()
630 mDuplexAudioManager.setInputPreset(mInputPreset); in startTest()
631 mDuplexAudioManager.setRecorderSampleRate(mInSampleRate); in startTest()
632 mDuplexAudioManager.setNumRecorderChannels(mInChannelCount); in startTest()
[all …]
DAudioTap2ToneActivity.java83 private DuplexAudioManager mDuplexAudioManager; field in AudioTap2ToneActivity
290 if (mDuplexAudioManager == null) { in startAudio()
293 mDuplexAudioManager = new DuplexAudioManager(sourceProvider, sinkProvider); in startAudio()
294 mDuplexAudioManager.setNumRecorderChannels(NUM_RECORD_CHANNELS); in startAudio()
297 if (mDuplexAudioManager.buildStreams(mApi, BuilderBase.TYPE_JAVA) == StreamBase.OK) { in startAudio()
300 + mDuplexAudioManager.getNumPlayerBufferFrames() in startAudio()
302 + mDuplexAudioManager.getNumRecorderBufferFrames()); in startAudio()
303 mDuplexAudioManager.start(); in startAudio()
305 mBlipSource = (AudioSource) mDuplexAudioManager.getAudioSource(); in startAudio()
317 mDuplexAudioManager.stop(); in stopAudio()
[all …]
DAudioMultichannelMixdownActivity.java143 private DuplexAudioManager mDuplexAudioManager; field in AudioMultichannelMixdownActivity
829 if (mDuplexAudioManager == null) { in startDuplex()
830 mDuplexAudioManager = new DuplexAudioManager(null, null); in startDuplex()
834 mDuplexAudioManager.stop(); in startDuplex()
838 mDuplexAudioManager.setSources(mSourceProvider, mSinkProvider); in startDuplex()
841 mDuplexAudioManager.setPlayerRouteDevice(mSelectedOutput); in startDuplex()
842 mDuplexAudioManager.setPlayerSampleRate(OUT_SAMPLE_RATE); in startDuplex()
844 mDuplexAudioManager.setPlayerChannelMask(mCurrentPlayerMask); in startDuplex()
847 mDuplexAudioManager.setRecorderRouteDevice(mSelectedInput); in startDuplex()
848 mDuplexAudioManager.setRecorderSampleRate(IN_SAMPLE_RATE); in startDuplex()
[all …]