Searched refs:streamPropInfo (Results 1 – 2 of 2) sorted by relevance
419 StreamPropInfo streamPropInfo = {}; in ParseStreamProps() local420 streamPropInfo.format_ = ExtractPropertyValue("format", *currNode); in ParseStreamProps()423 streamPropInfo.sampleRate_ = (uint32_t)std::stoi(sampleRateStr); in ParseStreamProps()424 pipeInfo.sampleRates_.push_back(streamPropInfo.sampleRate_); in ParseStreamProps()428 streamPropInfo.periodInMs_ = (uint32_t)std::stoi(periodInMsStr); in ParseStreamProps()432 streamPropInfo.channelLayout_ = layoutStrToChannels[channelLayoutStr]; in ParseStreamProps()433 pipeInfo.channelLayouts_.push_back(streamPropInfo.channelLayout_); in ParseStreamProps()438 streamPropInfo.bufferSize_ = (uint32_t)std::stoi(bufferSizeStr); in ParseStreamProps()440 …streamPropInfo.bufferSize_ = formatStrToEnum[streamPropInfo.format_] * streamPropInfo.sampleRate_ * in ParseStreamProps()441 streamPropInfo.periodInMs_ * streamPropInfo.channelLayout_ / AUDIO_MS_PER_S; in ParseStreamProps()[all …]
7315 for (const auto &streamPropInfo : streamPropInfoList) { in FetchTargetInfoForSessionAdd() local7316 if (sessionInfo.channels == streamPropInfo.channelLayout_ in FetchTargetInfoForSessionAdd()7317 && sessionInfo.rate == streamPropInfo.sampleRate_) { in FetchTargetInfoForSessionAdd()7318 targetStreamPropInfo = streamPropInfo; in FetchTargetInfoForSessionAdd()