Home
last modified time | relevance | path

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

/cts/suite/audio_quality/test/
DAudioRecordPlayTestCommon.h37 android::sp<AudioHardware> mAudioRecordingHw; variable
48 mAudioRecordingHw = createRecordingHw(); in SetUp()
49 ASSERT_TRUE(mAudioRecordingHw.get() != NULL); in SetUp()
59 mAudioRecordingHw->stopPlaybackOrRecord(); in TearDown()
61 mAudioRecordingHw.clear(); in TearDown()
67 ASSERT_TRUE(mAudioRecordingHw->prepare(AudioHardware::ESampleRate_44100, DEFAULT_VOLUME)); in PlayAndRecord()
68 ASSERT_TRUE(mAudioRecordingHw->startPlaybackOrRecord(mBufferRecording, in PlayAndRecord()
73 ASSERT_TRUE(mAudioRecordingHw->waitForCompletion()); in PlayAndRecord()
76 mAudioRecordingHw->stopPlaybackOrRecord(); in PlayAndRecord()