Home
last modified time | relevance | path

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

/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/config/
H A Daudio_volume_parser.cpp141 std::shared_ptr<StreamVolumeInfo> streamVolInfo = std::make_shared<StreamVolumeInfo>(); in ParseStreamInfos() local
142 ParseStreamVolumeInfoAttr(currNode, streamVolInfo); in ParseStreamInfos()
143 ParseDeviceVolumeInfos(currNode->children, streamVolInfo); in ParseStreamInfos()
144 AUDIO_DEBUG_LOG("Parse streamType:%{public}d ", streamVolInfo->streamType); in ParseStreamInfos()
145 streamVolumeInfoMap[streamVolInfo->streamType] = streamVolInfo; in ParseStreamInfos()
157 streamVolInfo->streamType = audioStreamMap_[pValue]; in ParseStreamVolumeInfoAttr()
163 streamVolInfo->minLevel = atoi(pValue); in ParseStreamVolumeInfoAttr()
169 streamVolInfo->maxLevel = atoi(pValue); in ParseStreamVolumeInfoAttr()
175 streamVolInfo->defaultLevel = atoi(pValue); in ParseStreamVolumeInfoAttr()
180 …lumeParser::ParseDeviceVolumeInfos(xmlNode *node, std::shared_ptr<StreamVolumeInfo> &streamVolInfo) in ParseDeviceVolumeInfos() argument
[all …]
/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/server/include/service/config/
H A Daudio_volume_parser.h47 void ParseStreamVolumeInfoAttr(xmlNode *node, std::shared_ptr<StreamVolumeInfo> &streamVolInfo);
48 void ParseDeviceVolumeInfos(xmlNode *node, std::shared_ptr<StreamVolumeInfo> &streamVolInfo);
/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/manager/
H A Daudio_adapter_manager.cpp1802 auto streamVolInfo = streamVolInfoPair.second; in UpdateVolumeMapIndex() local
1803 minVolumeIndexMap_[streamVolInfo->streamType] = streamVolInfo->minLevel; in UpdateVolumeMapIndex()
1804 maxVolumeIndexMap_[streamVolInfo->streamType] = streamVolInfo->maxLevel; in UpdateVolumeMapIndex()
1805 … volumeDataMaintainer_.SetStreamVolume(streamVolInfo->streamType, streamVolInfo->defaultLevel); in UpdateVolumeMapIndex()
1807 streamVolInfo->streamType, minVolumeIndexMap_[streamVolInfo->streamType], in UpdateVolumeMapIndex()
1808 maxVolumeIndexMap_[streamVolInfo->streamType], in UpdateVolumeMapIndex()
1809 volumeDataMaintainer_.GetStreamVolume(streamVolInfo->streamType)); in UpdateVolumeMapIndex()
1816 auto streamVolInfo = streamVolumeInfos_.find(streamType); in GetVolumePoints() local
1817 auto deviceVolInfo = streamVolInfo->second->deviceVolumeInfos.find(deviceType); in GetVolumePoints()