Home
last modified time | relevance | path

Searched refs:GetVolumePercent (Results 1 – 13 of 13) sorted by relevance

/dports/multimedia/kodi/xbmc-19.3-Matrix/xbmc/games/dialogs/osd/
H A DDialogGameVolume.cpp62 m_volumePercent = m_oldVolumePercent = GetVolumePercent(); in OnInitWindow()
68 SetSlider(GetLabel(), GetVolumePercent(), VOLUME_MIN, VOLUME_DELTA, VOLUME_MAX, this, nullptr); in OnInitWindow()
136 float CDialogGameVolume::GetVolumePercent() const in GetVolumePercent() function in CDialogGameVolume
138 return g_application.GetVolumePercent(); in GetVolumePercent()
H A DDialogGameVolume.h65 float GetVolumePercent() const;
/dports/multimedia/kodi/xbmc-19.3-Matrix/xbmc/interfaces/json-rpc/
H A DApplicationOperations.cpp53 int oldVolume = (int)g_application.GetVolumePercent(); in SetVolume()
108 result = static_cast<int>(std::lroundf(g_application.GetVolumePercent())); in GetPropertyValue()
/dports/games/hedgewars-server/hedgewars-src-1.0.0/hedgewars/
H A DuSound.pas120 function GetVolumePercent(): LongInt; in GetVolumePercent() function
890 function GetVolumePercent(): LongInt;
892 GetVolumePercent:= Volume * 100 div MIX_MAX_VOLUME;
895 if ((GetVolumePercent = 0) and (Volume > 0)) then
896 GetVolumePercent:= 1
897 else if ((GetVolumePercent = 100) and (Volume < MIX_MAX_VOLUME)) then
898 GetVolumePercent:= 99;
916 ChangeVolume:= GetVolumePercent();
H A DuGame.pas62 s:= ansistring(inttostr(GetVolumePercent()));
/dports/games/hedgewars/hedgewars-src-1.0.0/hedgewars/
H A DuSound.pas120 function GetVolumePercent(): LongInt; in GetVolumePercent() function
890 function GetVolumePercent(): LongInt;
892 GetVolumePercent:= Volume * 100 div MIX_MAX_VOLUME;
895 if ((GetVolumePercent = 0) and (Volume > 0)) then
896 GetVolumePercent:= 1
897 else if ((GetVolumePercent = 100) and (Volume < MIX_MAX_VOLUME)) then
898 GetVolumePercent:= 99;
916 ChangeVolume:= GetVolumePercent();
H A DuGame.pas62 s:= ansistring(inttostr(GetVolumePercent()));
/dports/multimedia/kodi/xbmc-19.3-Matrix/xbmc/interfaces/builtins/
H A DApplicationBuiltins.cpp96 float oldVolume = g_application.GetVolumePercent(); in SetVolume()
/dports/multimedia/kodi/xbmc-19.3-Matrix/xbmc/
H A DApplication.h215 float GetVolumePercent() const;
H A DApplication.cpp4574 float CApplication::GetVolumePercent() const in GetVolumePercent() function in CApplication
4588 data["volume"] = static_cast<int>(std::lroundf(GetVolumePercent())); in VolumeChanged()
/dports/multimedia/kodi/xbmc-19.3-Matrix/xbmc/network/
H A DAirPlayServer.cpp725 ServerInstance->m_origVolume = (int)g_application.GetVolumePercent(); in backupVolume()
835 float oldVolume = g_application.GetVolumePercent(); in ProcessRequest()
/dports/multimedia/kodi/xbmc-19.3-Matrix/xbmc/guilib/guiinfo/
H A DPlayerGUIInfo.cpp364 value = static_cast<int>(g_application.GetVolumePercent()); in GetInt()
/dports/multimedia/kodi/xbmc-19.3-Matrix/xbmc/cores/VideoPlayer/
H A DVideoPlayerRadioRDS.cpp934 m_TA_TP_TrafficVolume = g_application.GetVolumePercent(); in DecodeTA_TP()