Home
last modified time | relevance | path

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

/cts/suite/audio_quality/test/
DAudioPlayTestCommon.h38 android::sp<AudioHardware> mAudioHw; variable
50 mAudioHw = createAudioHw(); in SetUp()
51 ASSERT_TRUE(mAudioHw.get() != NULL); in SetUp()
60 mAudioHw->stopPlaybackOrRecord(); // this stops the thread in TearDown()
61 mAudioHw.clear(); in TearDown()
65 ASSERT_TRUE(mAudioHw->prepare(AudioHardware::ESampleRate_44100, DEFAULT_VOLUME)); in playAll()
66 ASSERT_TRUE(mAudioHw->startPlaybackOrRecord(mBuffer, numberRepetition)); in playAll()
67 ASSERT_TRUE(mAudioHw->waitForCompletion()); in playAll()
68 mAudioHw->stopPlaybackOrRecord(); in playAll()
75 ASSERT_TRUE(mAudioHw->prepare(AudioHardware::ESampleRate_44100, DEFAULT_VOLUME)); in repeatPlayStop()
[all …]