Home
last modified time | relevance | path

Searched refs:currentActiveDevice_ (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/manager/
H A Daudio_adapter_manager.cpp278 streamType, currentActiveDevice_, volumeLevel); in SetSystemVolumeLevel()
297 …if (currentActiveDevice_ == DEVICE_TYPE_BLUETOOTH_SCO || currentActiveDevice_ == DEVICE_TYPE_BLUET… in SetSystemVolumeLevel()
522 streamType, currentActiveDevice_); in SetStreamMuteInternal()
723 if (currentActiveDevice_ == deviceType) { in SetVolumeForSwitchDevice()
725 currentActiveDevice_, deviceType); in SetVolumeForSwitchDevice()
732 currentActiveDevice_ = deviceType; in SetVolumeForSwitchDevice()
1174 switch (currentActiveDevice_) { in UpdateSafeVolume()
1343 if (currentActiveDevice_ == deviceType) { in CheckAndDealMuteStatus()
1348 if (currentActiveDevice_ == deviceType) { in CheckAndDealMuteStatus()
1353 if (currentActiveDevice_ == deviceType) { in CheckAndDealMuteStatus()
[all …]
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/multichannel/
H A Dmultichannel_audio_renderer_sink.cpp170 DeviceType currentActiveDevice_ = DEVICE_TYPE_NONE; member in OHOS::AudioStandard::MultiChannelRendererSinkInner
788 if (outputDevice == currentActiveDevice_) { in SetOutputRoute()
792 currentActiveDevice_ = outputDevice; in SetOutputRoute()
1158 if (currentActiveDevice_ == device) { in ResetOutputRouteForDisconnect()
1159 currentActiveDevice_ = DEVICE_TYPE_NONE; in ResetOutputRouteForDisconnect()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/primary/
H A Daudio_renderer_sink.cpp287 DeviceType currentActiveDevice_ = DEVICE_TYPE_NONE; member in OHOS::AudioStandard::AudioRendererSinkInner
1054 if (outputDevice == currentActiveDevice_ && in SetOutputRoutes()
1075 currentActiveDevice_ = outputDevice; in SetOutputRoutes()
1156 …vices.size() != static_cast<size_t>(currentDevicesSize_) || activeDevice != currentActiveDevice_ || in SetAudioScene()
1497 if (currentActiveDevice_ == device) { in ResetOutputRouteForDisconnect()
1498 currentActiveDevice_ = DEVICE_TYPE_NONE; in ResetOutputRouteForDisconnect()
1560 switch (currentActiveDevice_) { in GetCurDeviceParam()
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/source/primary/
H A Daudio_capturer_source.cpp161 DeviceType currentActiveDevice_ = DEVICE_TYPE_INVALID; member in OHOS::AudioStandard::AudioCapturerSourceInner
472currentActiveDevice_ = DEVICE_TYPE_INVALID; // the current device must be rest when closing captur… in DeInit()
901 if (inputDevice == currentActiveDevice_) { in SetInputRoute()
903 currentActiveDevice_, attr_.sourceType); in SetInputRoute()
1343 currentActiveDevice_, attr_.sourceType); in UpdateSourceType()
1349 return DoSetInputRoute(currentActiveDevice_, inputPortPin); in UpdateSourceType()
/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/server/include/service/manager/
H A Daudio_adapter_manager.h290 DeviceType currentActiveDevice_ = DeviceType::DEVICE_TYPE_SPEAKER; variable
/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/
H A Daudio_policy_service.cpp2067 currentActiveDevice_ = AudioDeviceDescriptor(desc); in SetCurrentOutputDevice()
2073 currentActiveDevice_.deviceType_ = deviceType; in SetCurrentOutputDeviceType()
2079 return currentActiveDevice_; in GetCurrentOutputDevice()
2085 return currentActiveDevice_.deviceType_; in GetCurrentOutputDeviceType()
2091 return currentActiveDevice_.deviceCategory_; in GetCurrentOutputDeviceCategory()
2097 return currentActiveDevice_.networkId_; in GetCurrentOutputDeviceNetworkId()
2103 return currentActiveDevice_.macAddress_; in GetCurrentOutputDeviceMacAddr()
2711 bean->Add("DEVICE_TYPE_BEFORE_CHANGE", currentActiveDevice_.deviceType_); in WriteOutputRouteChangeEvent()
2937 …if ((strcmp(oldDevicePortName.c_str(), GetSourcePortName(currentActiveDevice_.deviceType_).c_str()… in NotifyRecreateCapturerStream()
2939 (currentActiveDevice_.networkId_ == LOCAL_NETWORK_ID))) { in NotifyRecreateCapturerStream()
[all …]
/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/server/include/service/
H A Daudio_policy_service.h1112 …AudioDeviceDescriptor currentActiveDevice_ = AudioDeviceDescriptor(DEVICE_TYPE_NONE, DEVICE_ROLE_N…