Home
last modified time | relevance | path

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

/hardware/interfaces/audio/aidl/default/r_submix/
DModuleRemoteSubmix.cpp76 if (auto pipeConfig = getRemoteEndConfig(port); pipeConfig.has_value()) { in setAudioPortConfig() local
78 config->format = pipeConfig->format; in setAudioPortConfig()
79 config->channelMask = pipeConfig->channelLayout; in setAudioPortConfig()
80 config->sampleRate = Int{.value = pipeConfig->sampleRate}; in setAudioPortConfig()
112 if (auto pipeConfig = getRemoteEndConfig(*audioPort); pipeConfig.has_value()) { in populateConnectedDevicePort() local
115 .format = pipeConfig->format, in populateConnectedDevicePort()
116 .channelMasks = std::vector<AudioChannelLayout>({pipeConfig->channelLayout}), in populateConnectedDevicePort()
117 .sampleRates = std::vector<int>({pipeConfig->sampleRate})}); in populateConnectedDevicePort()
DStreamRemoteSubmix.cpp185 auto pipeConfig = mCurrentRoute->getPipeConfig(); in getStreamPipeSizeInFrames() local
186 const size_t maxFrameSize = std::max(mStreamConfig.frameSize, pipeConfig.frameSize); in getStreamPipeSizeInFrames()
187 return (pipeConfig.frameCount * pipeConfig.frameSize) / maxFrameSize; in getStreamPipeSizeInFrames()
DSubmixRoute.cpp42 const AudioConfig& pipeConfig) { in findOrCreateRoute() argument
49 if (::android::OK != route->createPipe(pipeConfig)) { in findOrCreateRoute()
DSubmixRoute.h67 const AudioConfig& pipeConfig);