Home
last modified time | relevance | path

Searched refs:newVolume (Results 1 – 5 of 5) sorted by relevance

/external/quake/quake/src/QW/client/
Dcd_audio.c732 int newVolume; in CDAudio_Update() local
762 newVolume = (int)(bgmvolume.value * 255.0); in CDAudio_Update()
763 if (newVolume < 0) in CDAudio_Update()
766 newVolume = 0; in CDAudio_Update()
768 else if (newVolume > 255) in CDAudio_Update()
771 newVolume = 255; in CDAudio_Update()
773 if (cdvolume != newVolume) in CDAudio_Update()
774 CDAudio_SetVolume (newVolume); in CDAudio_Update()
/external/quake/quake/src/WinQuake/
Dcd_audio.cpp742 int newVolume; in CDAudio_Update() local
772 newVolume = (int)(bgmvolume.value * 255.0); in CDAudio_Update()
773 if (newVolume != cdvolume) in CDAudio_Update()
775 if (newVolume < 0) in CDAudio_Update()
778 newVolume = 0; in CDAudio_Update()
780 else if (newVolume > 255) in CDAudio_Update()
783 newVolume = 255; in CDAudio_Update()
785 CDAudio_SetVolume (newVolume); in CDAudio_Update()
/external/webkit/Source/WebCore/platform/graphics/mac/
DMediaPlayerProxy.h98 - (void)_setVolume:(float)newVolume;
/external/webkit/Source/WebKit/chromium/src/
DWebMediaPlayerClientImpl.cpp127 void WebMediaPlayerClientImpl::volumeChanged(float newVolume) in volumeChanged() argument
130 m_mediaPlayer->volumeChanged(newVolume); in volumeChanged()
/external/webkit/Source/WebCore/platform/graphics/
DMediaPlayer.cpp820 void MediaPlayer::volumeChanged(float newVolume) in volumeChanged() argument
822 m_volume = newVolume; in volumeChanged()