mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
audio: Pass flags and I/O handle to StreamContext
Vendor implementations may need to see the value of flags and the I/O handle of the mix port used to open the stream. Bug: 282568751 Test: atest VtsHalAudioCoreTargetTest Change-Id: If1f346793f3b3a725bc19358909f5b461cb159c1
This commit is contained in:
@@ -207,7 +207,8 @@ ndk::ScopedAStatus Module::createStreamContext(
|
||||
std::make_unique<StreamContext::CommandMQ>(1, true /*configureEventFlagWord*/),
|
||||
std::make_unique<StreamContext::ReplyMQ>(1, true /*configureEventFlagWord*/),
|
||||
portConfigIt->format.value(), portConfigIt->channelMask.value(),
|
||||
portConfigIt->sampleRate.value().value,
|
||||
portConfigIt->sampleRate.value().value, flags,
|
||||
portConfigIt->ext.get<AudioPortExt::mix>().handle,
|
||||
std::make_unique<StreamContext::DataMQ>(frameSize * in_bufferSizeFrames),
|
||||
asyncCallback, outEventCallback, params);
|
||||
if (temp.isValid()) {
|
||||
|
||||
Reference in New Issue
Block a user