Searched refs:pipeConfig (Results 1 – 4 of 4) sorted by relevance
76 if (auto pipeConfig = getRemoteEndConfig(port); pipeConfig.has_value()) { in setAudioPortConfig() local78 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() local115 .format = pipeConfig->format, in populateConnectedDevicePort()116 .channelMasks = std::vector<AudioChannelLayout>({pipeConfig->channelLayout}), in populateConnectedDevicePort()117 .sampleRates = std::vector<int>({pipeConfig->sampleRate})}); in populateConnectedDevicePort()
185 auto pipeConfig = mCurrentRoute->getPipeConfig(); in getStreamPipeSizeInFrames() local186 const size_t maxFrameSize = std::max(mStreamConfig.frameSize, pipeConfig.frameSize); in getStreamPipeSizeInFrames()187 return (pipeConfig.frameCount * pipeConfig.frameSize) / maxFrameSize; in getStreamPipeSizeInFrames()
42 const AudioConfig& pipeConfig) { in findOrCreateRoute() argument49 if (::android::OK != route->createPipe(pipeConfig)) { in findOrCreateRoute()
67 const AudioConfig& pipeConfig);