Home
last modified time | relevance | path

Searched refs:maxVolume (Results 1 - 25 of 51) sorted by relevance

123

/foundation/CastEngine/castengine_cast_plus_stream/src/stream/src/player/src/
H A Dcast_stream_player_utils.cpp41 int maxVolume = audioSystemMgr->GetMaxVolume(streamType); in GetVolume() local
42 if (maxVolume <= 0) { in GetVolume()
46 int initVolume = originalVolume * CAST_STREAM_FULL_VOLUME / maxVolume; in GetVolume()
H A Dcast_stream_player.cpp415 void CastStreamPlayerCallback::OnVolumeChanged(int volume, int maxVolume) in OnVolumeChanged() argument
423 listener->OnVolumeChanged(volume, maxVolume); in OnVolumeChanged()
430 targetCallback->NotifyPeerVolumeChanged(volume, maxVolume); in OnVolumeChanged()
885 int maxVolume = CastStreamPlayerUtils::GetMaxVolume(); in SendInitSysVolume() local
886 CLOGI("Init maxVolume is %{public}d", maxVolume); in SendInitSysVolume()
893 callback_->OnVolumeChanged(initVolume, maxVolume); in SendInitSysVolume()
1064 // maxVolume is the max value current system supports. For example, phone is 15. in SetVolume()
1065 int maxVolume = audioSystemMgr_->GetMaxVolume(streamType); in SetVolume() local
1066 int ret = audioSystemMgr_->SetVolume(streamType, (volume * maxVolume) / CAST_STREAM_FULL_VOLUM in SetVolume()
1076 int maxVolume = CastStreamPlayerUtils::GetMaxVolume(); GetVolume() local
1373 SetMaxVolume(int maxVolume) SetMaxVolume() argument
[all...]
H A Dstream_player_impl_stub.cpp349 int32_t maxVolume; in DoGetVolumeTask() local
350 int32_t ret = GetVolume(volume, maxVolume); in DoGetVolumeTask()
359 if (!reply.WriteInt32(maxVolume)) { in DoGetVolumeTask()
360 CLOGE("Failed to write maxVolume:%{public}d", maxVolume); in DoGetVolumeTask()
664 int32_t StreamPlayerImplStub::GetVolume(int &volume, int &maxVolume) in GetVolume() argument
671 return streamPlayerImpl->GetVolume(volume, maxVolume); in GetVolume()
H A Dstream_player_listener_impl_proxy.cpp97 void StreamPlayerListenerImplProxy::OnVolumeChanged(int volume, int maxVolume) in OnVolumeChanged() argument
111 if (!data.WriteInt32(maxVolume)) { in OnVolumeChanged()
112 CLOGE("Failed to write the maxVolume"); in OnVolumeChanged()
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/stream/src/player/src/
H A Dcast_stream_player_utils.cpp41 int maxVolume = audioSystemMgr->GetMaxVolume(streamType); in GetVolume() local
42 if (maxVolume <= 0) { in GetVolume()
46 int initVolume = originalVolume * CAST_STREAM_FULL_VOLUME / maxVolume; in GetVolume()
H A Dcast_stream_player.cpp415 void CastStreamPlayerCallback::OnVolumeChanged(int volume, int maxVolume) in OnVolumeChanged() argument
423 listener->OnVolumeChanged(volume, maxVolume); in OnVolumeChanged()
430 targetCallback->NotifyPeerVolumeChanged(volume, maxVolume); in OnVolumeChanged()
885 int maxVolume = CastStreamPlayerUtils::GetMaxVolume(); in SendInitSysVolume() local
886 CLOGI("Init maxVolume is %{public}d", maxVolume); in SendInitSysVolume()
893 callback_->OnVolumeChanged(initVolume, maxVolume); in SendInitSysVolume()
1064 // maxVolume is the max value current system supports. For example, phone is 15. in SetVolume()
1065 int maxVolume = audioSystemMgr_->GetMaxVolume(streamType); in SetVolume() local
1066 int ret = audioSystemMgr_->SetVolume(streamType, (volume * maxVolume) / CAST_STREAM_FULL_VOLUM in SetVolume()
1076 int maxVolume = CastStreamPlayerUtils::GetMaxVolume(); GetVolume() local
1373 SetMaxVolume(int maxVolume) SetMaxVolume() argument
[all...]
H A Dstream_player_impl_stub.cpp349 int32_t maxVolume; in DoGetVolumeTask() local
350 int32_t ret = GetVolume(volume, maxVolume); in DoGetVolumeTask()
359 if (!reply.WriteInt32(maxVolume)) { in DoGetVolumeTask()
360 CLOGE("Failed to write maxVolume:%{public}d", maxVolume); in DoGetVolumeTask()
664 int32_t StreamPlayerImplStub::GetVolume(int &volume, int &maxVolume) in GetVolume() argument
671 return streamPlayerImpl->GetVolume(volume, maxVolume); in GetVolume()
H A Dstream_player_listener_impl_proxy.cpp97 void StreamPlayerListenerImplProxy::OnVolumeChanged(int volume, int maxVolume) in OnVolumeChanged() argument
111 if (!data.WriteInt32(maxVolume)) { in OnVolumeChanged()
112 CLOGE("Failed to write the maxVolume"); in OnVolumeChanged()
/foundation/CastEngine/castengine_cast_framework/interfaces/inner_api/include/
H A Di_stream_player.h39 virtual void OnVolumeChanged(int volume, int maxVolume) = 0;
83 virtual int32_t GetVolume(int &volume, int &maxVolume) = 0;
/foundation/CastEngine/castengine_cast_framework/client/src/
H A Dstream_player_listener_impl_stub.cpp104 int32_t maxVolume = data.ReadInt32(); in DoOnVolumeChangedTask() local
105 userListener_->OnVolumeChanged(volume, maxVolume); in DoOnVolumeChangedTask()
244 void StreamPlayerListenerImplStub::OnVolumeChanged(int volume, int maxVolume) in OnVolumeChanged() argument
247 static_cast<void>(maxVolume); in OnVolumeChanged()
H A Dstream_player.cpp164 int32_t StreamPlayer::GetVolume(int &volume, int &maxVolume) in GetVolume() argument
166 return proxy_ ? proxy_->GetVolume(volume, maxVolume) : CAST_ENGINE_ERROR; in GetVolume()
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/stream/include/
H A Di_cast_stream_manager_server.h34 virtual bool NotifyPeerVolumeChanged(int volume, int maxVolume) = 0;
H A Dcast_stream_manager_server.h45 bool NotifyPeerVolumeChanged(int volume, int maxVolume) override;
/foundation/CastEngine/castengine_cast_plus_stream/src/stream/include/
H A Di_cast_stream_manager_server.h34 virtual bool NotifyPeerVolumeChanged(int volume, int maxVolume) = 0;
H A Dcast_stream_manager_server.h45 bool NotifyPeerVolumeChanged(int volume, int maxVolume) override;
/foundation/CastEngine/castengine_cast_framework/common/include/private/
H A Di_stream_player_listener_impl.h41 virtual void OnVolumeChanged(int volume, int maxVolume) = 0;
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/stream/src/player/include/
H A Dstream_player_listener_impl_proxy.h37 void OnVolumeChanged(int volume, int maxVolume) override;
H A Dcast_stream_player.h63 void OnVolumeChanged(int volume, int maxVolume);
111 void SetMaxVolume(int maxVolume);
H A Di_stream_player_impl.h55 virtual int32_t GetVolume(int &volume, int &maxVolume) = 0;
/foundation/CastEngine/castengine_cast_plus_stream/src/stream/src/player/include/
H A Dstream_player_listener_impl_proxy.h37 void OnVolumeChanged(int volume, int maxVolume) override;
H A Dcast_stream_player.h63 void OnVolumeChanged(int volume, int maxVolume);
111 void SetMaxVolume(int maxVolume);
H A Di_stream_player_impl.h55 virtual int32_t GetVolume(int &volume, int &maxVolume) = 0;
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/stream/src/
H A Dcast_stream_manager_client.cpp528 int maxVolume = 15; in ProcessActionVolumeChanged() local
531 RETURN_FALSE_IF_PARSE_NUMBER_WRONG(maxVolume, data, KEY_MAX_VOLUME); in ProcessActionVolumeChanged()
536 maxVolume_ = maxVolume; in ProcessActionVolumeChanged()
539 CLOGI("volume:%{public}d, maxVolume:%{public}d", volume, maxVolume); in ProcessActionVolumeChanged()
540 playerListener->OnVolumeChanged(volume, maxVolume); in ProcessActionVolumeChanged()
/foundation/CastEngine/castengine_cast_plus_stream/src/stream/src/
H A Dcast_stream_manager_client.cpp528 int maxVolume = 15; in ProcessActionVolumeChanged() local
531 RETURN_FALSE_IF_PARSE_NUMBER_WRONG(maxVolume, data, KEY_MAX_VOLUME); in ProcessActionVolumeChanged()
536 maxVolume_ = maxVolume; in ProcessActionVolumeChanged()
539 CLOGI("volume:%{public}d, maxVolume:%{public}d", volume, maxVolume); in ProcessActionVolumeChanged()
540 playerListener->OnVolumeChanged(volume, maxVolume); in ProcessActionVolumeChanged()
/foundation/CastEngine/castengine_cast_framework/interfaces/kits/js/include/
H A Dnapi_stream_player_listener.h63 void OnVolumeChanged(int volume, int maxVolume) override;

Completed in 14 milliseconds

123