Lines Matching refs:mBuffer
37 android::sp<Buffer> mBuffer;
52 mBuffer = AudioSignalFactory::generateSineWave(AudioHardware::E2BPS,
55 ASSERT_TRUE(mBuffer.get() != NULL);
66 ASSERT_TRUE(mAudioHw->startPlaybackOrRecord(mBuffer, numberRepetition));
69 LOGV("size %d, handled %d", mBuffer->getSize(), mBuffer->amountHandled());
70 ASSERT_TRUE(mBuffer->amountHandled() == mBuffer->getSize());
76 mBuffer->restart();
77 ASSERT_TRUE(mAudioHw->startPlaybackOrRecord(mBuffer, 10));
83 ASSERT_FALSE(mAudioHw->startPlaybackOrRecord(mBuffer));