/dports/games/viruskiller/viruskiller-1.03/src/ |
H A D | CAudio.cpp | 30 soundVolume = 128; in Audio() 38 void Audio::setSoundVolume(int soundVolume) in setSoundVolume() argument 40 this->soundVolume = soundVolume; in setSoundVolume() 42 Mix_Volume(-1, soundVolume); in setSoundVolume() 131 if ((!engine->useAudio) || (soundVolume == 0)) in playSound() 134 Mix_Volume(channel, soundVolume); in playSound() 141 if ((!engine->useAudio) || (soundVolume == 0)) in playSound() 144 Mix_Volume(channel, soundVolume); in playSound() 161 if ((!engine->useAudio) || (soundVolume == 0)) in playMenuSound()
|
H A D | CAudio.h | 30 int soundVolume; variable 40 void setSoundVolume(int soundVolume);
|
H A D | init.cpp | 175 fread(&gameData.soundVolume, sizeof(int), 1, fp); in loadConfig() 209 fwrite(&gameData.soundVolume, sizeof(int), 1, fp); in saveConfig() 278 audio.setSoundVolume(gameData.soundVolume); in initSystem()
|
/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/agg/ |
H A D | agg.cpp | 83 void PlaySoundInternally( const int m82, const int soundVolume ); 147 void pushSound( const int m82Sound, const int soundVolume ) in pushSound() argument 153 _soundTasks.emplace( m82Sound, soundVolume ); in pushSound() 164 _loopSoundTasks.emplace( vols, soundVolume ); in pushLoopSound() 210 , soundVolume( soundVolume_ ) in SoundTask() 214 int soundVolume; member 221 , soundVolume( soundVolume_ ) in LoopSoundTask() 225 int soundVolume; member 461 if ( 0 == vol || soundVolume == 0 ) { in LoadLOOPXXSoundsInternally() 484 Mixer::Volume( ch, vol * soundVolume / 10 ); in LoadLOOPXXSoundsInternally() [all …]
|
/dports/games/krank/krank-07/src/ |
H A D | Sound.py | 19 self.soundVolume = 1.0 43 self.sounds[key].set_volume(self.soundVolume) 50 if volume > 0 and self.soundVolume > 0: 113 play = self.soundVolume <> clamp(volume, 0.0, 1.0) 114 self.soundVolume = clamp(volume, 0.0, 1.0) 116 self.sounds[key].set_volume(self.soundVolume) 122 return self.soundVolume 131 v = self.soundVolume
|
/dports/games/blobwars/blobwars-2.00/src/ |
H A D | CAudio.cpp | 45 void Audio::setSoundVolume(int soundVolume) in setSoundVolume() argument 47 this->soundVolume = soundVolume; in setSoundVolume() 49 Mix_Volume(-1, soundVolume); in setSoundVolume() 183 if ((!engine->useAudio) || (soundVolume == 0)) in playSoundRelative() 200 Mix_Volume(channel, soundVolume); in playSoundRelative() 300 if ((!engine->useAudio) || (soundVolume == 0)) in playAmbiance() 315 if ((!engine->useAudio) || (soundVolume == 0)) in stopAmbiance() 323 if ((!engine->useAudio) || (soundVolume == 0)) in playMenuSound()
|
H A D | CAudio.h | 34 int soundVolume; variable 48 void setSoundVolume(int soundVolume);
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/avalanche/ |
H A D | sound.cpp | 58 int soundVolume; in syncVolume() local 61 soundVolume = -1; in syncVolume() 63 soundVolume = MIN(255, ConfMan.getInt("sfx_volume")); in syncVolume() 65 _vm->_mixer->setVolumeForSoundType(Audio::Mixer::kSFXSoundType, soundVolume); in syncVolume()
|
/dports/games/scummvm/scummvm-2.5.1/engines/avalanche/ |
H A D | sound.cpp | 58 int soundVolume; in syncVolume() local 61 soundVolume = -1; in syncVolume() 63 soundVolume = MIN(255, ConfMan.getInt("sfx_volume")); in syncVolume() 65 _vm->_mixer->setVolumeForSoundType(Audio::Mixer::kSFXSoundType, soundVolume); in syncVolume()
|
/dports/games/openxcom/OpenXcom-1.0/src/Menu/ |
H A D | IntroState.cpp | 44 _oldSound = Options::soundVolume; in IntroState() 45 Options::musicVolume = Options::soundVolume = std::max(_oldMusic, _oldSound); in IntroState() 46 _game->setVolume(Options::soundVolume, Options::musicVolume, -1); in IntroState() 377 double ratio = (double)Options::soundVolume / MIX_MAX_VOLUME; in operator ()() 449 Options::soundVolume = _oldSound; in init() 450 _game->setVolume(Options::soundVolume, Options::musicVolume, Options::uiVolume); in init()
|
H A D | OptionsAudioState.cpp | 110 _slrSoundVolume->setValue(Options::soundVolume); in OptionsAudioState() 226 _game->setVolume(Options::soundVolume, Options::musicVolume, Options::uiVolume); in slrMusicVolumeChange() 235 Options::soundVolume = _slrSoundVolume->getValue(); in slrSoundVolumeChange() 236 _game->setVolume(Options::soundVolume, Options::musicVolume, Options::uiVolume); in slrSoundVolumeChange() 255 _game->setVolume(Options::soundVolume, Options::musicVolume, Options::uiVolume); in slrUiVolumeChange()
|
/dports/games/openjazz/openjazz-20190106/src/io/ |
H A D | sound.cpp | 97 int soundVolume = MAX_VOLUME >> 2; // 25% variable 147 soundVolume * SDL_MIX_MAXVOLUME / MAX_VOLUME); in audioCallback() 158 soundVolume * SDL_MIX_MAXVOLUME / MAX_VOLUME); in audioCallback() 626 return soundVolume; in getSoundVolume() 636 soundVolume = volume; in setSoundVolume() 637 if (volume < 1) soundVolume = 0; in setSoundVolume() 638 if (volume > MAX_VOLUME) soundVolume = MAX_VOLUME; in setSoundVolume()
|
/dports/games/openclaw/OpenClaw-0.0-51-gbac7730/OpenClaw/Engine/Actor/Components/ |
H A D | GlobalAmbientSoundComponent.cpp | 69 soundInfo.soundVolume = m_SoundVolume; in VInit() 99 soundInfo.soundVolume = m_SoundVolume; in VUpdate() 128 soundInfo.soundVolume = m_SoundVolume; in BossFightEndedDelegate()
|
/dports/games/scummvm/scummvm-2.5.1/engines/hugo/ |
H A D | sound.cpp | 230 int soundVolume; in syncVolume() local 233 soundVolume = -1; in syncVolume() 235 soundVolume = MIN(255, ConfMan.getInt("sfx_volume")); in syncVolume() 237 _vm->_mixer->setVolumeForSoundType(Audio::Mixer::kSFXSoundType, soundVolume); in syncVolume()
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/hugo/ |
H A D | sound.cpp | 230 int soundVolume; in syncVolume() local 233 soundVolume = -1; in syncVolume() 235 soundVolume = MIN(255, ConfMan.getInt("sfx_volume")); in syncVolume() 237 _vm->_mixer->setVolumeForSoundType(Audio::Mixer::kSFXSoundType, soundVolume); in syncVolume()
|
/dports/games/lincity-ng/lincity-ng-2.0/src/lincity-ng/ |
H A D | Config.cpp | 52 soundVolume = 100; in Config() 149 soundVolume = parseInt(value, 100, 0, 100); in load() 219 << "\" soundVolume=\"" << soundVolume << "\" \n"; in save()
|
H A D | Sound.cpp | 105 setSoundVolume(getConfig()->soundVolume); in Sound() 159 Mix_Volume( 0, getConfig()->soundVolume ); in playSound() 250 getConfig()->soundVolume = vol; in setSoundVolume()
|
H A D | Config.hpp | 38 int soundVolume; member in Config
|
/dports/games/bubble-chains/bubble-chains-0.2.0/ |
H A D | menucontrol.cpp | 143 ui.cbVolumeSound->setValue(gameProfile->currentPlayer()->soundVolume); in on_bOptSound_clicked() 144 ui.cbMuteSound->setChecked(gameProfile->currentPlayer()->soundVolume == 0); in on_bOptSound_clicked() 323 gameProfile->currentPlayer()->soundVolume = val; in on_cbVolumeSound_valueChanged() 334 gameProfile->currentPlayer()->soundVolume = 0; in on_cbMuteSound_toggled() 338 gameProfile->currentPlayer()->soundVolume = ui.cbVolumeSound->value(); in on_cbMuteSound_toggled() 411 sndEngine->setChannelVolume(gameProfile->currentPlayer()->soundVolume); in on_bProfileSelect_clicked()
|
H A D | gameprofile.h | 59 musicEnabled(false), soundVolume(64), musicVolume(64), in PlayerInfo() 82 int soundVolume, musicVolume; member
|
/dports/emulators/visualboyadvance-m/visualboyadvance-m-VBA-M_Beta_2/src/gba/ |
H A D | Sound.cpp | 51 static float soundVolume = 1.0f; variable 283 soundVolume_ = soundVolume; in apply_volume() 413 if ( soundVolume_ != soundVolume ) in psoundTickfn() 517 soundVolume = volume; in soundSetVolume() 522 return soundVolume; in soundGetVolume()
|
/dports/emulators/vba/VisualBoyAdvance-1.7.2/src/gb/ |
H A D | gbSound.cpp | 28 extern int soundVolume; 616 switch(soundVolume) { in gbSoundMix() 621 res *= (soundVolume+1); in gbSoundMix() 681 switch(soundVolume) { in gbSoundMix() 686 res *= (soundVolume+1); in gbSoundMix()
|
/dports/games/scummvm/scummvm-2.5.1/engines/mads/ |
H A D | mads.cpp | 134 int soundVolume = MIN(255, ConfMan.getInt("sfx_volume")); in loadOptions() local 135 _sound->setVolume(soundVolume); in loadOptions()
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/mads/ |
H A D | mads.cpp | 139 int soundVolume = MIN(255, ConfMan.getInt("sfx_volume")); in loadOptions() local 140 _sound->setVolume(soundVolume); in loadOptions()
|
/dports/net/kalarmcal/kalarmcal-21.12.3/serializers/ |
H A D | kaeventformatter.cpp | 223 return mEvent.soundVolume() >= 0; in isApplicable() 382 return mEvent.soundVolume() >= 0 in value() 383 ? i18nc("@info Percentage", "%1%%", static_cast<int>(mEvent.soundVolume() * 100)) in value()
|