From a7196af1f6204193513b4e26c4592a9255385163 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Sun, 20 Jul 2025 09:55:56 +0200 Subject: [PATCH 1/2] Separate out GamePreviewVolume from UIVolume Fixes issue #20651 --- Core/Config.cpp | 6 ++++++ Core/Config.h | 1 + UI/BackgroundAudio.cpp | 28 ++++++++++++++-------------- UI/BackgroundAudio.h | 4 ++-- UI/GameSettingsScreen.cpp | 5 +++++ 5 files changed, 28 insertions(+), 16 deletions(-) diff --git a/Core/Config.cpp b/Core/Config.cpp index 3b8a16e1ec..161a234d1e 100644 --- a/Core/Config.cpp +++ b/Core/Config.cpp @@ -769,6 +769,11 @@ static int DefaultAchievementVolume() { return MultiplierToVolume100((float)g_Config.iLegacyAchievementVolume / 10.0f); } +static int DefaultGamePreviewVolume() { + // This was previously controlled by the UI volume, so transfer the default value over. + return g_Config.iUIVolume; +} + static const ConfigSetting soundSettings[] = { ConfigSetting("Enable", &g_Config.bEnableSound, true, CfgFlag::PER_GAME), ConfigSetting("ExtraAudioBuffering", &g_Config.bExtraAudioBuffering, false, CfgFlag::DEFAULT), @@ -786,6 +791,7 @@ static const ConfigSetting soundSettings[] = { ConfigSetting("AltSpeedRelativeVolume", &g_Config.iAltSpeedVolume, VOLUMEHI_FULL, CfgFlag::PER_GAME), ConfigSetting("AchievementVolume", &g_Config.iAchievementVolume, &DefaultAchievementVolume, CfgFlag::PER_GAME), ConfigSetting("UIVolume", &g_Config.iUIVolume, 75, CfgFlag::DEFAULT), + ConfigSetting("GamePreviewVolume", &g_Config.iGamePreviewVolume, &DefaultGamePreviewVolume, CfgFlag::DEFAULT), ConfigSetting("AudioDevice", &g_Config.sAudioDevice, "", CfgFlag::DEFAULT), ConfigSetting("AutoAudioDevice", &g_Config.bAutoAudioDevice, true, CfgFlag::DEFAULT), diff --git a/Core/Config.h b/Core/Config.h index d5bdeaa300..dbac130f1a 100644 --- a/Core/Config.h +++ b/Core/Config.h @@ -298,6 +298,7 @@ public: int iGameVolume; int iReverbVolume; int iUIVolume; + int iGamePreviewVolume; // Volume for the game preview sound in the game grid. int iAchievementVolume; int iAltSpeedVolume; diff --git a/UI/BackgroundAudio.cpp b/UI/BackgroundAudio.cpp index 8356a56792..63f1ed8acd 100644 --- a/UI/BackgroundAudio.cpp +++ b/UI/BackgroundAudio.cpp @@ -273,19 +273,19 @@ private: BackgroundAudio g_BackgroundAudio; BackgroundAudio::BackgroundAudio() { - buffer = new int[BUFSIZE](); + buffer_ = new int[BUFSIZE](); sndLoadPending_.store(false); } BackgroundAudio::~BackgroundAudio() { delete at3Reader_; - delete[] buffer; + delete[] buffer_; } void BackgroundAudio::Clear(bool hard) { if (!hard) { fadingOut_ = true; - volume_ = 1.0f; + volumeFader_ = 1.0f; return; } if (at3Reader_) { @@ -313,7 +313,7 @@ void BackgroundAudio::SetGame(const Path &path) { sndLoadPending_ = true; fadingOut_ = false; } - volume_ = 1.0f; + volumeFader_ = 1.0f; bgGamePath_ = path; } @@ -335,30 +335,30 @@ bool BackgroundAudio::Play() { sz = std::min(BUFSIZE / 2, sz); if (at3Reader_) { - if (at3Reader_->Read(buffer, sz)) { + if (at3Reader_->Read(buffer_, sz)) { if (fadingOut_) { - float vol = volume_; + float vol = volumeFader_; // TODO: This isn't optimized. But hardly matters... for (int i = 0; i < sz * 2; i += 2) { const float v = vol; - buffer[i] = (int)((float)buffer[i] * v); - buffer[i + 1] = (int)((float)buffer[i + 1] * v); + buffer_[i] = (int)((float)buffer_[i] * v); + buffer_[i + 1] = (int)((float)buffer_[i + 1] * v); vol += delta_; } - volume_ = vol; + volumeFader_ = vol; } } } else { for (int i = 0; i < sz * 2; i += 2) { - buffer[i] = 0; - buffer[i + 1] = 0; + buffer_[i] = 0; + buffer_[i + 1] = 0; } } - float multiplier = Volume100ToMultiplier(g_Config.iUIVolume); - System_AudioPushSamples(buffer, sz, multiplier); + float multiplier = Volume100ToMultiplier(g_Config.iGamePreviewVolume); + System_AudioPushSamples(buffer_, sz, multiplier); - if (at3Reader_ && fadingOut_ && volume_ <= 0.0f) { + if (at3Reader_ && fadingOut_ && volumeFader_ <= 0.0f) { Clear(true); fadingOut_ = false; gameLastChanged_ = 0; diff --git a/UI/BackgroundAudio.h b/UI/BackgroundAudio.h index 30371171f4..4735115918 100644 --- a/UI/BackgroundAudio.h +++ b/UI/BackgroundAudio.h @@ -79,9 +79,9 @@ private: AT3PlusReader *at3Reader_ = nullptr; double gameLastChanged_ = 0.0; double lastPlaybackTime_ = 0.0; - int *buffer = nullptr; + int *buffer_ = nullptr; bool fadingOut_ = true; - float volume_ = 0.0f; + float volumeFader_ = 0.0f; float delta_ = -0.0001f; SoundEffectMixer sfxMixer_; }; diff --git a/UI/GameSettingsScreen.cpp b/UI/GameSettingsScreen.cpp index ecb14f344a..79f6e06088 100644 --- a/UI/GameSettingsScreen.cpp +++ b/UI/GameSettingsScreen.cpp @@ -677,6 +677,11 @@ void GameSettingsScreen::CreateAudioSettings(UI::ViewGroup *audioSettings) { return UI::EVENT_DONE; }); + PopupSliderChoice *gamePreviewVolume = audioSettings->Add(new PopupSliderChoice(&g_Config.iGamePreviewVolume, VOLUME_OFF, VOLUMEHI_FULL, NO_DEFAULT_INT, a->T("Game preview volume"), screenManager())); + gamePreviewVolume->SetFormat("%d%%"); + gamePreviewVolume->SetEnabledPtr(&g_Config.bEnableSound); + gamePreviewVolume->SetZeroLabel(a->T("Mute")); + bool sdlAudio = false; #if defined(SDL) From c5ae597d60aaa2d453b0ad7fa08463641c83cfdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Sun, 20 Jul 2025 10:01:28 +0200 Subject: [PATCH 2/2] Add new translation key --- assets/lang/ar_AE.ini | 1 + assets/lang/az_AZ.ini | 1 + assets/lang/be_BY.ini | 1 + assets/lang/bg_BG.ini | 1 + assets/lang/ca_ES.ini | 1 + assets/lang/cz_CZ.ini | 1 + assets/lang/da_DK.ini | 1 + assets/lang/de_DE.ini | 1 + assets/lang/dr_ID.ini | 1 + assets/lang/en_US.ini | 1 + assets/lang/es_ES.ini | 1 + assets/lang/es_LA.ini | 1 + assets/lang/fa_IR.ini | 1 + assets/lang/fi_FI.ini | 1 + assets/lang/fr_FR.ini | 1 + assets/lang/gl_ES.ini | 1 + assets/lang/gr_EL.ini | 1 + assets/lang/he_IL.ini | 1 + assets/lang/he_IL_invert.ini | 1 + assets/lang/hr_HR.ini | 1 + assets/lang/hu_HU.ini | 1 + assets/lang/id_ID.ini | 1 + assets/lang/it_IT.ini | 1 + assets/lang/ja_JP.ini | 1 + assets/lang/jv_ID.ini | 1 + assets/lang/ko_KR.ini | 1 + assets/lang/ku_SO.ini | 1 + assets/lang/lo_LA.ini | 1 + assets/lang/lt-LT.ini | 1 + assets/lang/ms_MY.ini | 1 + assets/lang/nl_NL.ini | 1 + assets/lang/no_NO.ini | 1 + assets/lang/pl_PL.ini | 1 + assets/lang/pt_BR.ini | 1 + assets/lang/pt_PT.ini | 1 + assets/lang/ro_RO.ini | 1 + assets/lang/ru_RU.ini | 1 + assets/lang/sv_SE.ini | 1 + assets/lang/tg_PH.ini | 1 + assets/lang/th_TH.ini | 1 + assets/lang/tr_TR.ini | 1 + assets/lang/uk_UA.ini | 1 + assets/lang/vi_VN.ini | 1 + assets/lang/zh_CN.ini | 1 + assets/lang/zh_TW.ini | 1 + 45 files changed, 45 insertions(+) diff --git a/assets/lang/ar_AE.ini b/assets/lang/ar_AE.ini index 4c5c0547d3..688e666dec 100644 --- a/assets/lang/ar_AE.ini +++ b/assets/lang/ar_AE.ini @@ -79,6 +79,7 @@ Buffer size = Buffer size Device = جهاز Disabled = غير مفعل Enable Sound = ‎تفعيل الصوت +Game preview volume = Game preview volume Game volume = ‎الصوت العام Microphone = Microphone Microphone Device = جهاز المايكروفون diff --git a/assets/lang/az_AZ.ini b/assets/lang/az_AZ.ini index 804a2576a4..ddfde10e82 100644 --- a/assets/lang/az_AZ.ini +++ b/assets/lang/az_AZ.ini @@ -71,6 +71,7 @@ Buffer size = Buffer size Device = Device Disabled = Disabled Enable Sound = Səs Açıq +Game preview volume = Game preview volume Game volume = Game volume Microphone = Microphone Microphone Device = Microphone device diff --git a/assets/lang/be_BY.ini b/assets/lang/be_BY.ini index b007457aba..36dd6fa6f9 100644 --- a/assets/lang/be_BY.ini +++ b/assets/lang/be_BY.ini @@ -71,6 +71,7 @@ Buffer size = Buffer size Device = Прылада Disabled = Адкл. Enable Sound = Уключыць гук +Game preview volume = Game preview volume Game volume = Гучнасць гульні Microphone = Мікрафон Microphone Device = Прылада мікрафона diff --git a/assets/lang/bg_BG.ini b/assets/lang/bg_BG.ini index da8f55cbf0..67e3dd5f84 100644 --- a/assets/lang/bg_BG.ini +++ b/assets/lang/bg_BG.ini @@ -71,6 +71,7 @@ Buffer size = Buffer size Device = Устройство Disabled = Disabled Enable Sound = Включи звук +Game preview volume = Game preview volume Game volume = Обем на звука на играта Microphone = Микрофон Microphone Device = Микрофонно устройство diff --git a/assets/lang/ca_ES.ini b/assets/lang/ca_ES.ini index b453da1466..d1609d9e0b 100644 --- a/assets/lang/ca_ES.ini +++ b/assets/lang/ca_ES.ini @@ -71,6 +71,7 @@ Buffer size = Buffer size Device = Dispositiu Disabled = Disabled Enable Sound = Activar el so +Game preview volume = Game preview volume Game volume = Volum global Microphone = Micròfon Microphone Device = Dispositiu de micròfon diff --git a/assets/lang/cz_CZ.ini b/assets/lang/cz_CZ.ini index 35114979d9..7ba7e34eb6 100644 --- a/assets/lang/cz_CZ.ini +++ b/assets/lang/cz_CZ.ini @@ -71,6 +71,7 @@ Buffer size = Buffer size Device = Device Disabled = Disabled Enable Sound = Povolit zvuk +Game preview volume = Game preview volume Game volume = Celková hlasitost Microphone = Microphone Microphone Device = Microphone device diff --git a/assets/lang/da_DK.ini b/assets/lang/da_DK.ini index 4b8c9ed69c..1b92f7048f 100644 --- a/assets/lang/da_DK.ini +++ b/assets/lang/da_DK.ini @@ -71,6 +71,7 @@ Buffer size = Buffer size Device = Device Disabled = Disabled Enable Sound = Aktiver lyd +Game preview volume = Game preview volume Game volume = Game volume Microphone = Microphone Microphone Device = Microphone device diff --git a/assets/lang/de_DE.ini b/assets/lang/de_DE.ini index 1288b4b229..406c52fbd7 100644 --- a/assets/lang/de_DE.ini +++ b/assets/lang/de_DE.ini @@ -70,6 +70,7 @@ Auto = Autom. Device = Gerät Disabled = Deaktiviert Enable Sound = Ton aktivieren +Game preview volume = Game preview volume Game volume = Spiellautstärke Microphone = Mikrofon Microphone Device = Mikrofon-Gerät diff --git a/assets/lang/dr_ID.ini b/assets/lang/dr_ID.ini index 674aa004fa..a5274d2e9c 100644 --- a/assets/lang/dr_ID.ini +++ b/assets/lang/dr_ID.ini @@ -71,6 +71,7 @@ Buffer size = Buffer size Device = Device Disabled = Disabled Enable Sound = Padenni suarana +Game preview volume = Game preview volume Game volume = Game volume Microphone = Microphone Microphone Device = Microphone device diff --git a/assets/lang/en_US.ini b/assets/lang/en_US.ini index ff27822417..7c4c615abe 100644 --- a/assets/lang/en_US.ini +++ b/assets/lang/en_US.ini @@ -95,6 +95,7 @@ Buffer size = Buffer size Device = Device Disabled = Disabled Enable Sound = Enable sound +Game preview volume = Game preview volume Game volume = Game volume Microphone = Microphone Microphone Device = Microphone device diff --git a/assets/lang/es_ES.ini b/assets/lang/es_ES.ini index 236b024f71..e12a084de5 100644 --- a/assets/lang/es_ES.ini +++ b/assets/lang/es_ES.ini @@ -71,6 +71,7 @@ Buffer size = Tamaño del búfer Device = Dispositivo Disabled = Desactivado Enable Sound = Activar sonido +Game preview volume = Game preview volume Game volume = Volumen global Microphone = Micrófono Microphone Device = Dispositivo de entrada diff --git a/assets/lang/es_LA.ini b/assets/lang/es_LA.ini index 380ba9eaa7..fa178c9a98 100644 --- a/assets/lang/es_LA.ini +++ b/assets/lang/es_LA.ini @@ -71,6 +71,7 @@ Buffer size = Buffer size Device = Dispositivo Disabled = Deshabilitado Enable Sound = Habilitar sonido +Game preview volume = Game preview volume Game volume = Volumen global Microphone = Micrófono Microphone Device = Dispositivo de entrada de sonido (Micrófono) diff --git a/assets/lang/fa_IR.ini b/assets/lang/fa_IR.ini index 2612b25bae..c4921f2b2f 100644 --- a/assets/lang/fa_IR.ini +++ b/assets/lang/fa_IR.ini @@ -71,6 +71,7 @@ Buffer size = Buffer size Device = سیستم Disabled = فعال کردن Enable Sound = ‎فعال کردن صدا +Game preview volume = Game preview volume Game volume = ‎بلندی صدا Microphone = میکروفن Microphone Device = میکروفن دستگاه diff --git a/assets/lang/fi_FI.ini b/assets/lang/fi_FI.ini index 4cb22809b1..81357facb7 100644 --- a/assets/lang/fi_FI.ini +++ b/assets/lang/fi_FI.ini @@ -71,6 +71,7 @@ Buffer size = Buffer size Device = Laite Disabled = Poistettu käytöstä Enable Sound = Ota äänet käyttöön +Game preview volume = Game preview volume Game volume = Yleinen äänenvoimakkuus Microphone = Mikrofoni Microphone Device = Mikrofonin laite diff --git a/assets/lang/fr_FR.ini b/assets/lang/fr_FR.ini index d905209c76..a2dd13cabe 100644 --- a/assets/lang/fr_FR.ini +++ b/assets/lang/fr_FR.ini @@ -71,6 +71,7 @@ Buffer size = Buffer size Device = Périphérique de sortie Disabled = Disabled Enable Sound = Activer le son +Game preview volume = Game preview volume Game volume = Volume global Microphone = Micro Microphone Device = Micro diff --git a/assets/lang/gl_ES.ini b/assets/lang/gl_ES.ini index 9b09e2f354..7063f8b81e 100644 --- a/assets/lang/gl_ES.ini +++ b/assets/lang/gl_ES.ini @@ -71,6 +71,7 @@ Buffer size = Buffer size Device = Device Disabled = Disabled Enable Sound = Activar son +Game preview volume = Game preview volume Game volume = Game volume Microphone = Microphone Microphone Device = Microphone device diff --git a/assets/lang/gr_EL.ini b/assets/lang/gr_EL.ini index f37c31f27a..7c956ecf8c 100644 --- a/assets/lang/gr_EL.ini +++ b/assets/lang/gr_EL.ini @@ -71,6 +71,7 @@ Buffer size = Buffer size Device = Συσκευή Disabled = Disabled Enable Sound = Ενεργοποίηση Ήχου +Game preview volume = Game preview volume Game volume = Γενική ένταση Microphone = Microphone Microphone Device = Microphone device diff --git a/assets/lang/he_IL.ini b/assets/lang/he_IL.ini index cf4874e4a8..5b5e772c51 100644 --- a/assets/lang/he_IL.ini +++ b/assets/lang/he_IL.ini @@ -71,6 +71,7 @@ Buffer size = Buffer size Device = Device Disabled = Disabled Enable Sound = אפשר שמע +Game preview volume = Game preview volume Game volume = Game volume Microphone = Microphone Microphone Device = Microphone device diff --git a/assets/lang/he_IL_invert.ini b/assets/lang/he_IL_invert.ini index 0fa4fe79b4..c7e32d3f26 100644 --- a/assets/lang/he_IL_invert.ini +++ b/assets/lang/he_IL_invert.ini @@ -71,6 +71,7 @@ Buffer size = Buffer size Device = Device Disabled = Disabled Enable Sound = עמש רשפא +Game preview volume = Game preview volume Game volume = Game volume Microphone = Microphone Microphone Device = Microphone device diff --git a/assets/lang/hr_HR.ini b/assets/lang/hr_HR.ini index 5eeb04f8be..c766b529a0 100644 --- a/assets/lang/hr_HR.ini +++ b/assets/lang/hr_HR.ini @@ -71,6 +71,7 @@ Buffer size = Buffer size Device = Uređaj Disabled = Disabled Enable Sound = Uključi zvuk +Game preview volume = Game preview volume Game volume = Opća glasnoća Microphone = Microphone Microphone Device = Microphone device diff --git a/assets/lang/hu_HU.ini b/assets/lang/hu_HU.ini index e989a9bb2a..2dbe68f6ec 100644 --- a/assets/lang/hu_HU.ini +++ b/assets/lang/hu_HU.ini @@ -71,6 +71,7 @@ Buffer size = Buffer size Device = Eszköz Disabled = Kikapcsolva Enable Sound = Hang bekapcsolása +Game preview volume = Game preview volume Game volume = Globális hangerő Microphone = Mikrofon Microphone Device = Mikrofon eszköz diff --git a/assets/lang/id_ID.ini b/assets/lang/id_ID.ini index 711bf5ecf5..ae104f8105 100644 --- a/assets/lang/id_ID.ini +++ b/assets/lang/id_ID.ini @@ -71,6 +71,7 @@ Buffer size = Buffer size Device = Perangkat Disabled = Nonaktif Enable Sound = Aktifkan suara +Game preview volume = Game preview volume Game volume = Volume global Microphone = Mikrofon Microphone Device = Mikrofon perangkat diff --git a/assets/lang/it_IT.ini b/assets/lang/it_IT.ini index 6d622726cb..9599b6828f 100644 --- a/assets/lang/it_IT.ini +++ b/assets/lang/it_IT.ini @@ -71,6 +71,7 @@ Buffer size = Buffer size Device = Dispositivo Disabled = Disabilitato Enable Sound = Attiva il Sonoro +Game preview volume = Game preview volume Game volume = Volume Globale Microphone = Microfono Microphone Device = Periferica Microfono diff --git a/assets/lang/ja_JP.ini b/assets/lang/ja_JP.ini index c65e13c235..6f01230558 100644 --- a/assets/lang/ja_JP.ini +++ b/assets/lang/ja_JP.ini @@ -71,6 +71,7 @@ Buffer size = Buffer size Device = デバイス Disabled = 無効 Enable Sound = オーディオを有効にする +Game preview volume = Game preview volume Game volume = グローバルボリューム Microphone = マイクの設定 Microphone Device = マイク入力機器の選択 diff --git a/assets/lang/jv_ID.ini b/assets/lang/jv_ID.ini index b83ec32003..7f06b789ba 100644 --- a/assets/lang/jv_ID.ini +++ b/assets/lang/jv_ID.ini @@ -71,6 +71,7 @@ Buffer size = Buffer size Device = Device Disabled = Disabled Enable Sound = Ngatifke Suoro +Game preview volume = Game preview volume Game volume = Tingkat Volume Microphone = Microphone Microphone Device = Microphone device diff --git a/assets/lang/ko_KR.ini b/assets/lang/ko_KR.ini index fed19186d8..c0318d0b85 100644 --- a/assets/lang/ko_KR.ini +++ b/assets/lang/ko_KR.ini @@ -71,6 +71,7 @@ Buffer size = 버퍼 크기 Device = 장치 Disabled = 비활성화 Enable Sound = 사운드 활성화 +Game preview volume = Game preview volume Game volume = 글로벌 볼륨 Microphone = 마이크 Microphone Device = 마이크 장치 diff --git a/assets/lang/ku_SO.ini b/assets/lang/ku_SO.ini index 6a20930497..cf7986cde3 100644 --- a/assets/lang/ku_SO.ini +++ b/assets/lang/ku_SO.ini @@ -84,6 +84,7 @@ Buffer size = Buffer size Device = ئامێر Disabled = لەکار خراوە Enable Sound = بەکارکردنی دەنگ +Game preview volume = Game preview volume Game volume = دەنگی گشتی Microphone = مایکرۆفۆن Microphone Device = ئامێری مایکرۆفۆن diff --git a/assets/lang/lo_LA.ini b/assets/lang/lo_LA.ini index 0648968a15..bdec386dc5 100644 --- a/assets/lang/lo_LA.ini +++ b/assets/lang/lo_LA.ini @@ -71,6 +71,7 @@ Buffer size = Buffer size Device = Device Disabled = Disabled Enable Sound = ເປີດໃຊ້ງານສຽງ +Game preview volume = Game preview volume Game volume = ລະດັບສຽງຫຼັກ Microphone = Microphone Microphone Device = Microphone device diff --git a/assets/lang/lt-LT.ini b/assets/lang/lt-LT.ini index 68bc1d7112..0e1c0f40b4 100644 --- a/assets/lang/lt-LT.ini +++ b/assets/lang/lt-LT.ini @@ -71,6 +71,7 @@ Buffer size = Buffer size Device = Device Disabled = Disabled Enable Sound = Įjungti garsą +Game preview volume = Game preview volume Game volume = Game volume Microphone = Microphone Microphone Device = Microphone device diff --git a/assets/lang/ms_MY.ini b/assets/lang/ms_MY.ini index 393870b67f..53187b696f 100644 --- a/assets/lang/ms_MY.ini +++ b/assets/lang/ms_MY.ini @@ -71,6 +71,7 @@ Buffer size = Buffer size Device = Device Disabled = Disabled Enable Sound = Upayakan suara +Game preview volume = Game preview volume Game volume = Volume keseluruhan Microphone = Microphone Microphone Device = Microphone device diff --git a/assets/lang/nl_NL.ini b/assets/lang/nl_NL.ini index 0e124199a1..19cf5e7e6b 100644 --- a/assets/lang/nl_NL.ini +++ b/assets/lang/nl_NL.ini @@ -71,6 +71,7 @@ Buffer size = Buffer size Device = Device Disabled = Disabled Enable Sound = Geluid inschakelen +Game preview volume = Game preview volume Game volume = Globaal volume Microphone = Microphone Microphone Device = Microphone device diff --git a/assets/lang/no_NO.ini b/assets/lang/no_NO.ini index 5bec2474bd..dfbf202055 100644 --- a/assets/lang/no_NO.ini +++ b/assets/lang/no_NO.ini @@ -71,6 +71,7 @@ Buffer size = Buffer size Device = Device Disabled = Disabled Enable Sound = Lyd +Game preview volume = Game preview volume Game volume = Game volume Microphone = Microphone Microphone Device = Microphone device diff --git a/assets/lang/pl_PL.ini b/assets/lang/pl_PL.ini index 35734efbef..b19dc79de0 100644 --- a/assets/lang/pl_PL.ini +++ b/assets/lang/pl_PL.ini @@ -71,6 +71,7 @@ Buffer size = Buffer size Device = Urządzenie Disabled = Wył. Enable Sound = Włącz dźwięk +Game preview volume = Game preview volume Game volume = Głośność globalna Microphone = Mikrofon Microphone Device = Mikrofon diff --git a/assets/lang/pt_BR.ini b/assets/lang/pt_BR.ini index 510121b57c..09d80aa443 100644 --- a/assets/lang/pt_BR.ini +++ b/assets/lang/pt_BR.ini @@ -96,6 +96,7 @@ Device = Dispositivo Disabled = Desativado DSound (compatible) = DirectSound (compatível) Enable Sound = Ativar áudio +Game preview volume = Game preview volume Game volume = Volume do jogo Microphone = Microfone Microphone Device = Dispositivo Microfone diff --git a/assets/lang/pt_PT.ini b/assets/lang/pt_PT.ini index 82ee00b41b..c3349bd1ce 100644 --- a/assets/lang/pt_PT.ini +++ b/assets/lang/pt_PT.ini @@ -95,6 +95,7 @@ Buffer size = Buffer size Device = Dispositivo Disabled = Desativado Enable Sound = Ativar Áudio +Game preview volume = Game preview volume Game volume = Volume Global Microphone = Microfone Microphone Device = Dispositivo de Microfone diff --git a/assets/lang/ro_RO.ini b/assets/lang/ro_RO.ini index 97dc564124..737954c4b1 100644 --- a/assets/lang/ro_RO.ini +++ b/assets/lang/ro_RO.ini @@ -71,6 +71,7 @@ Buffer size = Buffer size Device = Device Disabled = Disabled Enable Sound = Activează Sunet +Game preview volume = Game preview volume Game volume = Volum global Microphone = Microphone Microphone Device = Microphone device diff --git a/assets/lang/ru_RU.ini b/assets/lang/ru_RU.ini index e5ec6bca81..7afcea908f 100644 --- a/assets/lang/ru_RU.ini +++ b/assets/lang/ru_RU.ini @@ -71,6 +71,7 @@ Buffer size = Размер буфера Device = Устройство Disabled = Откл. Enable Sound = Включить звук +Game preview volume = Game preview volume Game volume = Громкость игры Microphone = Микрофон Microphone Device = Устройство микрофона diff --git a/assets/lang/sv_SE.ini b/assets/lang/sv_SE.ini index 544f7a9171..8547cce290 100644 --- a/assets/lang/sv_SE.ini +++ b/assets/lang/sv_SE.ini @@ -71,6 +71,7 @@ Buffer size = Buffer size Device = Enhet Disabled = Inaktiverad Enable Sound = Ljud på +Game preview volume = Game preview volume Game volume = Spelvolym Microphone = Mikrofon Microphone Device = Mikrofonenhet diff --git a/assets/lang/tg_PH.ini b/assets/lang/tg_PH.ini index 280deeab16..372f8fc873 100644 --- a/assets/lang/tg_PH.ini +++ b/assets/lang/tg_PH.ini @@ -71,6 +71,7 @@ Buffer size = Buffer size Device = Kagamitan Disabled = Huwag paganahin Enable Sound = Paganahin ang tunog +Game preview volume = Game preview volume Game volume = Pangkalahatang tunog Microphone = Mikropono Microphone Device = Device ng Mikropono diff --git a/assets/lang/th_TH.ini b/assets/lang/th_TH.ini index 8fc4139cf9..db282ca190 100644 --- a/assets/lang/th_TH.ini +++ b/assets/lang/th_TH.ini @@ -71,6 +71,7 @@ Buffer size = ขนาดบัฟเฟอร์ Device = อุปกรณ์ Disabled = ปิดการใช้งาน Enable Sound = เปิดการใช้งานเสียง +Game preview volume = Game preview volume Game volume = ระดับเสียงเกม Microphone = ไมโครโฟน Microphone Device = อุปกรณ์ไมโครโฟน diff --git a/assets/lang/tr_TR.ini b/assets/lang/tr_TR.ini index 5cf69dffb0..5410ae5b8e 100644 --- a/assets/lang/tr_TR.ini +++ b/assets/lang/tr_TR.ini @@ -71,6 +71,7 @@ Buffer size = Arabellek Boyutu Device = Cihaz Disabled = Devre Dışı Enable Sound = Sesi Etkinleştir +Game preview volume = Game preview volume Game volume = Oyun Sesi Microphone = Mikrofon Microphone Device = Mikrofon Cihazı diff --git a/assets/lang/uk_UA.ini b/assets/lang/uk_UA.ini index 548644afa1..f231c6221e 100644 --- a/assets/lang/uk_UA.ini +++ b/assets/lang/uk_UA.ini @@ -71,6 +71,7 @@ Buffer size = Buffer size Device = Пристрій Disabled = Вимкнуто Enable Sound = Ввімкнути звук +Game preview volume = Game preview volume Game volume = Глобальна гучність Microphone = Мікрофон Microphone Device = Мікрофонний пристрій diff --git a/assets/lang/vi_VN.ini b/assets/lang/vi_VN.ini index 1e23827e3b..17a735541f 100644 --- a/assets/lang/vi_VN.ini +++ b/assets/lang/vi_VN.ini @@ -71,6 +71,7 @@ Buffer size = Buffer size Device = Device Disabled = Disabled Enable Sound = Mở âm thanh +Game preview volume = Game preview volume Game volume = Âm lượng Microphone = Microphone Microphone Device = Microphone device diff --git a/assets/lang/zh_CN.ini b/assets/lang/zh_CN.ini index aef5890772..c336a5f36a 100644 --- a/assets/lang/zh_CN.ini +++ b/assets/lang/zh_CN.ini @@ -71,6 +71,7 @@ Buffer size = Buffer size Device = 设备 Disabled = 禁用 Enable Sound = 开启声音 +Game preview volume = Game preview volume Game volume = 全局音量 Microphone = 麦克风 Microphone Device = 麦克风设备 diff --git a/assets/lang/zh_TW.ini b/assets/lang/zh_TW.ini index cacd7e114c..3ae355d6a3 100644 --- a/assets/lang/zh_TW.ini +++ b/assets/lang/zh_TW.ini @@ -71,6 +71,7 @@ Buffer size = Buffer size Device = 裝置 Disabled = 已停用 Enable Sound = 啟用音效 +Game preview volume = Game preview volume Game volume = 全域音量 Microphone = 麥克風 Microphone Device = 麥克風裝置