/dports/games/libretro-mame2003_plus/mame2003-plus-libretro-17e9889/src/sndhrdw/ |
H A D | warpwarp_sndhrdw.c | 22 static int sound_volume = 0; variable 31 if( --sound_volume < 0 ) in sound_volume_decay() 32 sound_volume = 0; in sound_volume_decay() 39 sound_volume = 0x7fff; /* set sound_volume */ in WRITE_HANDLER() 171 sound_signal = (vcount & 0x04) ? decay[sound_volume] : 0; in warpwarp_sound_update() 174 sound_signal = (vcount & 0x08) ? decay[sound_volume] : 0; in warpwarp_sound_update() 177 sound_signal = (vcount & 0x10) ? decay[sound_volume] : 0; in warpwarp_sound_update() 180 sound_signal = (vcount & 0x20) ? decay[sound_volume] : 0; in warpwarp_sound_update() 183 sound_signal = !(vcount & 0x01) && !(vcount & 0x10) ? decay[sound_volume] : 0; in warpwarp_sound_update() 186 sound_signal = !(vcount & 0x02) && !(vcount & 0x20) ? decay[sound_volume] : 0; in warpwarp_sound_update() [all …]
|
/dports/games/libretro-mame2003/mame2003-libretro-4358db4/src/sndhrdw/ |
H A D | warpwarp_sndhrdw.c | 22 static int sound_volume = 0; variable 31 if( --sound_volume < 0 ) in sound_volume_decay() 32 sound_volume = 0; in sound_volume_decay() 39 sound_volume = 0x7fff; /* set sound_volume */ in WRITE_HANDLER() 171 sound_signal = (vcount & 0x04) ? decay[sound_volume] : 0; in warpwarp_sound_update() 174 sound_signal = (vcount & 0x08) ? decay[sound_volume] : 0; in warpwarp_sound_update() 177 sound_signal = (vcount & 0x10) ? decay[sound_volume] : 0; in warpwarp_sound_update() 180 sound_signal = (vcount & 0x20) ? decay[sound_volume] : 0; in warpwarp_sound_update() 183 sound_signal = !(vcount & 0x01) && !(vcount & 0x10) ? decay[sound_volume] : 0; in warpwarp_sound_update() 186 sound_signal = !(vcount & 0x02) && !(vcount & 0x20) ? decay[sound_volume] : 0; in warpwarp_sound_update() [all …]
|
/dports/games/libretro-mame2000/mame2000-libretro-e364a15/src/sndhrdw/ |
H A D | warpwarp.c | 22 static int sound_volume = 0; variable 31 if( --sound_volume < 0 ) in sound_volume_decay() 32 sound_volume = 0; in sound_volume_decay() 39 sound_volume = 0x7fff; /* set sound_volume */ in WRITE_HANDLER() 179 sound_signal = (vcount & 0x04) ? decay[sound_volume] : 0; in warpwarp_sound_update() 182 sound_signal = (vcount & 0x08) ? decay[sound_volume] : 0; in warpwarp_sound_update() 185 sound_signal = (vcount & 0x10) ? decay[sound_volume] : 0; in warpwarp_sound_update() 188 sound_signal = (vcount & 0x20) ? decay[sound_volume] : 0; in warpwarp_sound_update() 191 sound_signal = !(vcount & 0x01) && !(vcount & 0x10) ? decay[sound_volume] : 0; in warpwarp_sound_update() 194 sound_signal = !(vcount & 0x02) && !(vcount & 0x20) ? decay[sound_volume] : 0; in warpwarp_sound_update() [all …]
|
/dports/games/volleyball/volleyball-0.8.6/src/ |
H A D | option_menu.c | 36 int sound_volume; in option_menu_init() local 47 sound_volume = audio_get_sound_volume (data->world->audio); in option_menu_init() 48 sound_volume = (sound_volume * 19) / 128; in option_menu_init() 55 menu_add_progress_item (data->menu,_("Sound volume"), 20, sound_volume); in option_menu_init()
|
H A D | audio.c | 46 data->sound_volume = 0; in audio_init() 148 data->sound_volume = volume; in audio_set_sound_volume() 175 return data->sound_volume; in audio_get_sound_volume()
|
/dports/devel/allegro/allegro-4.4.3.1/demos/skater/source/ |
H A D | menusnd.c | 25 sound_volume = item->extra; in on_sound() 26 set_volume(sound_volume * 25, music_volume * 25); in on_sound() 33 set_volume(sound_volume * 25, music_volume * 25); in on_music() 53 menu[1].extra = sound_volume; in init()
|
H A D | global.c | 27 int sound_volume = 5; variable 102 sound_volume = get_config_int("SOUND", "sound_volume", sound_volume); in read_config() 129 set_config_int("SOUND", "sound_volume", sound_volume); in write_config()
|
/dports/devel/allegro5/allegro5-5.2.7.0/demos/skater/src/ |
H A D | menu_sound.c | 26 sound_volume = item->extra; in on_sound() 27 set_sound_volume(sound_volume / 10.0); in on_sound() 50 menu[1].extra = sound_volume; in init()
|
H A D | global.c | 32 int sound_volume = 8; variable 121 sound_volume = get_config_int(c, "SOUND", "sound_volume", sound_volume); in read_global_config() 124 set_sound_volume(sound_volume / 10.0); in read_global_config() 153 set_config_int(c, "SOUND", "sound_volume", sound_volume); in write_global_config()
|
/dports/games/jaggedalliance2/ja2-stracciatella-0.18.0/src/game/ |
H A D | GameSettings.cc | 57 UINT8 sound_volume; in LoadGameSettings() local 64 EXTR_U8( d, sound_volume) in LoadGameSettings() 89 SetSoundEffectsVolume(sound_volume <= HIGHVOLUME ? sound_volume : MIDVOLUME); in LoadGameSettings() 122 UINT8 const sound_volume = GetSoundEffectsVolume(); in SaveGameSettings() 123 INJ_U8( d, sound_volume) in SaveGameSettings()
|
/dports/games/dreamchess/dreamchess-0.3.0/dreamchess/src/audio/ |
H A D | sdlmixer.c | 49 static int sound_volume, music_volume; variable 178 if (sound_volume == 0) in audio_play_sound() 189 sound_volume = vol * MIX_MAX_VOLUME / AUDIO_MAX_VOL; in audio_set_sound_volume() 190 Mix_Volume(0, sound_volume); in audio_set_sound_volume()
|
/dports/games/xrally/xrally/ |
H A D | main.c | 136 sound_volume(64); in main() 279 sound_volume(0); in mainGameLoop() 305 sound_volume(level.volume); in mainGameLoop() 371 sound_volume(0); in mainGameLoop() 384 sound_volume(0); in mainGameLoop() 398 sound_volume(0); in mainGameLoop() 415 sound_volume (0); in mainGameLoop()
|
/dports/games/solarus/solarus-f43727b232b3ed13d98440a845e2a29e470e4f0d/gui/src/ |
H A D | settings.cpp | 67 QVariant sound_volume = value("quest_sound_volume"); in export_to_quest() local 68 if (sound_volume.isValid()) { in export_to_quest() 70 Solarus::Settings::key_sound_volume, sound_volume.toInt()); in export_to_quest()
|
H A D | console.cpp | 422 QVariant sound_volume = settings.value("quest_sound_volume"); in get_quest_lua_commands_from_settings() local 423 if (sound_volume.isValid()) { in get_quest_lua_commands_from_settings() 425 arg(sound_volume.toInt()); in get_quest_lua_commands_from_settings()
|
/dports/games/supertux2/SuperTux-v0.6.3-Source/src/supertux/menu/ |
H A D | options_menu.cpp | 283 sound_vol_stream << g_config->sound_volume << "%"; in OptionsMenu() 295 out << g_config->sound_volume << "%"; in OptionsMenu() 296 std::string sound_volume = out.str(); in OptionsMenu() local 300 if (volume == sound_volume) in OptionsMenu() 302 sound_volume.clear(); in OptionsMenu() 600 if (sscanf(sound_volumes[next_sound_volume].c_str(), "%i", &g_config->sound_volume) == 1) in menu_action() 602 bool sound_enabled = g_config->sound_volume > 0 ? true : false; in menu_action() 604 SoundManager::current()->set_sound_volume(g_config->sound_volume); in menu_action()
|
/dports/games/solarus/solarus-f43727b232b3ed13d98440a845e2a29e470e4f0d/src/core/ |
H A D | Settings.cpp | 201 const std::string& sound_volume = lua_tostring(l, 1); in load() local 202 entries[key_sound_volume] = sound_volume; in load() 333 auto sound_volume = get_integer(key_sound_volume); in apply_to_quest() local 334 if (sound_volume.second) { in apply_to_quest() 335 Sound::set_volume(sound_volume.first); in apply_to_quest()
|
/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/burn/drv/pre90s/ |
H A D | d_warpwarp.cpp | 402 static INT32 sound_volume = 0; variable 415 sound_volume = 0; in warpwarp_sound_reset() 429 SCAN_VAR(sound_volume); in warpwarp_sound_scan() 439 if( --sound_volume < 0 ) in sound_volume_decay() 440 sound_volume = 0; in sound_volume_decay() 446 sound_volume = 0x7fff; /* set sound_volume */ in warpwarp_sound_w() 538 sound_signal = (vcount & 0x04) ? decay[sound_volume] : 0; in warpwarp_sound_update() 541 sound_signal = (vcount & 0x08) ? decay[sound_volume] : 0; in warpwarp_sound_update() 544 sound_signal = (vcount & 0x10) ? decay[sound_volume] : 0; in warpwarp_sound_update() 547 sound_signal = (vcount & 0x20) ? decay[sound_volume] : 0; in warpwarp_sound_update() [all …]
|
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burn/drv/pre90s/ |
H A D | d_warpwarp.cpp | 402 static INT32 sound_volume = 0; variable 415 sound_volume = 0; in warpwarp_sound_reset() 429 SCAN_VAR(sound_volume); in warpwarp_sound_scan() 439 if( --sound_volume < 0 ) in sound_volume_decay() 440 sound_volume = 0; in sound_volume_decay() 446 sound_volume = 0x7fff; /* set sound_volume */ in warpwarp_sound_w() 538 sound_signal = (vcount & 0x04) ? decay[sound_volume] : 0; in warpwarp_sound_update() 541 sound_signal = (vcount & 0x08) ? decay[sound_volume] : 0; in warpwarp_sound_update() 544 sound_signal = (vcount & 0x10) ? decay[sound_volume] : 0; in warpwarp_sound_update() 547 sound_signal = (vcount & 0x20) ? decay[sound_volume] : 0; in warpwarp_sound_update() [all …]
|
/dports/emulators/teo/teo/src/alleg/agui/ |
H A D | asetting.c | 129 asound_SetVolume(teo.setting.sound_volume); in asetting_Panel() 130 commdial[COMMDIAL_SLIDER].d2=teo.setting.sound_volume-1; in asetting_Panel() 143 teo.setting.sound_volume = asound_GetVolume(); in asetting_Panel()
|
/dports/games/lgeneral/lgeneral-1.3.2/src/ |
H A D | config.c | 78 config.sound_volume = 96; in reset_config() 113 parser_get_int( pd, "sound_volume", &config.sound_volume ); in load_config() 145 fprintf( file, "sound_volume�%i\n", config.sound_volume ); in save_config()
|
/dports/games/instead/instead-3.4.1/stead/stead2/ |
H A D | sound.lua | 5 stead.sound_volume = instead_sound_volume 43 return stead.sound_volume(v, ...)
|
/dports/games/epiphany-game/epiphany-0.7.0/src/ |
H A D | epiconfig.cpp | 218 …TiXmlText* sound_volume = docHandle.FirstChild("config").FirstChild("sound_volume").FirstChild().T… in read_values_from_file() local 219 if(sound_volume) in read_values_from_file() 221 m_volume_sound = atoi(sound_volume->Value()); in read_values_from_file()
|
/dports/emulators/teo/teo/src/win/wgui/ |
H A D | wsetting.c | 96 SendMessage(volume_bar, TBM_SETPOS, TRUE, teo.setting.sound_volume); in init_bar() 97 asound_SetVolume(teo.setting.sound_volume); in init_bar() 142 teo.setting.sound_volume = pos+1; in update_bar()
|
/dports/games/etracer/etr-0.8.1/src/ |
H A D | config_screen.cpp | 66 sound_vol->GetValue() != param.sound_volume || in SetConfig() 84 param.sound_volume = sound_vol->GetValue(); in SetConfig() 161 sound_vol = AddUpDown(rightpos, area.top+dd*3, 0, 100, param.sound_volume, 2, true); in Enter()
|
/dports/games/supertux2/SuperTux-v0.6.3-Source/src/supertux/ |
H A D | gameconfig.cpp | 52 sound_volume(100), in Config() 192 config_audio_mapping->get("sound_volume", sound_volume); in load() 308 writer.write("sound_volume", sound_volume); in save()
|