From: Toni Wilen Date: Sat, 15 Apr 2023 18:08:23 +0000 (+0300) Subject: Removed volume counter mode GUI checkbox. X-Git-Tag: 5.0.0~77 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=703671920406c7406c0f405073201ef17867bc27;p=francis%2Fwinuae.git Removed volume counter mode GUI checkbox. --- diff --git a/od-win32/resources/winuae.rc b/od-win32/resources/winuae.rc index d9018d9d..407bd4c9 100644 --- a/od-win32/resources/winuae.rc +++ b/od-win32/resources/winuae.rc @@ -436,7 +436,6 @@ BEGIN CONTROL "Disabled, but emulated",IDC_SOUND1,"Button",BS_AUTORADIOBUTTON | WS_TABSTOP,13,58,107,10 CONTROL "Enabled",IDC_SOUND2,"Button",BS_AUTORADIOBUTTON | WS_TABSTOP,13,72,108,10 CONTROL "Automatic switching",IDC_SOUND_AUTO,"Button",BS_AUTOCHECKBOX | BS_LEFT | WS_GROUP | WS_TABSTOP,13,90,108,10 - CONTROL "Volume Counter mode",IDC_SOUND_VOLCNT,"Button",BS_AUTOCHECKBOX | BS_LEFT | NOT WS_VISIBLE | WS_GROUP | WS_TABSTOP,13,123,108,10 GROUPBOX "Volume",IDC_STATIC,139,28,255,69 RTEXT "Master",IDC_STATIC,160,47,51,10,SS_CENTERIMAGE CONTROL "",IDC_SOUNDVOLUME,"msctls_trackbar32",TBS_AUTOTICKS | TBS_TOP | WS_TABSTOP,215,41,105,20 diff --git a/od-win32/win32gui.cpp b/od-win32/win32gui.cpp index 87d419f4..c41eff1e 100644 --- a/od-win32/win32gui.cpp +++ b/od-win32/win32gui.cpp @@ -13854,7 +13854,7 @@ static void values_to_sounddlg (HWND hDlg) CheckRadioButton (hDlg, IDC_SOUND0, IDC_SOUND2, which_button); CheckDlgButton (hDlg, IDC_SOUND_AUTO, workprefs.sound_auto); - CheckDlgButton(hDlg, IDC_SOUND_VOLCNT, workprefs.sound_volcnt); + //CheckDlgButton(hDlg, IDC_SOUND_VOLCNT, workprefs.sound_volcnt); if (workprefs.sound_maxbsiz < SOUND_BUFFER_MULTIPLIER) workprefs.sound_maxbsiz = 0; @@ -13937,7 +13937,7 @@ static void values_from_sounddlg (HWND hDlg) : ischecked (hDlg, IDC_SOUND1) ? 1 : 3); workprefs.sound_auto = ischecked (hDlg, IDC_SOUND_AUTO); - workprefs.sound_volcnt = ischecked(hDlg, IDC_SOUND_VOLCNT); + //workprefs.sound_volcnt = ischecked(hDlg, IDC_SOUND_VOLCNT); idx = xSendDlgItemMessage (hDlg, IDC_SOUNDSTEREO, CB_GETCURSEL, 0, 0); if (idx != CB_ERR)