Home
last modified time | relevance | path

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

/hardware/interfaces/audio/aidl/vts/
DVtsHalAudioEffectTargetTest.cpp633 auto outputMQ = std::make_unique<EffectHelper::DataMQ>(ret.outputDataMQ); in TEST_P() local
634 ASSERT_TRUE(outputMQ->isValid()); in TEST_P()
643 outputMQ = std::make_unique<EffectHelper::DataMQ>(ret.outputDataMQ); in TEST_P()
646 ASSERT_TRUE(outputMQ->isValid()); in TEST_P()
654 outputMQ = std::make_unique<EffectHelper::DataMQ>(ret.outputDataMQ); in TEST_P()
657 ASSERT_TRUE(outputMQ->isValid()); in TEST_P()
678 auto outputMQ = std::make_unique<EffectHelper::DataMQ>(ret.outputDataMQ); in TEST_P() local
679 ASSERT_TRUE(outputMQ->isValid()); in TEST_P()
688 EffectHelper::readFromFmq(statusMQ, 1, outputMQ, buffer.size(), buffer)); in TEST_P()
692 EXPECT_NO_FATAL_FAILURE(EffectHelper::readFromFmq(statusMQ, 0, outputMQ, 0, buffer)); in TEST_P()
[all …]
DEffectHelper.h270 std::unique_ptr<DataMQ> outputMQ; variable
343 auto outputMQ = std::make_unique<EffectHelper::DataMQ>(mOpenEffectReturn->outputDataMQ); in processAndWriteToOutput() local
344 ASSERT_TRUE(outputMQ->isValid()); in processAndWriteToOutput()
357 EXPECT_NO_FATAL_FAILURE(EffectHelper::readFromFmq(statusMQ, 1, outputMQ, in processAndWriteToOutput()
/hardware/interfaces/audio/aidl/default/
DEffectImpl.cpp338 auto outputMQ = mImplContext->getOutputDataFmq(); in process() local
340 if (!inputMQ || !outputMQ) { in process()
345 std::max(inputMQ->availableToRead(), outputMQ->availableToWrite())); in process()
346 auto processSamples = std::min(inputMQ->availableToRead(), outputMQ->availableToWrite()); in process()
350 outputMQ->write(buffer, status.fmqProduced); in process()