invert GUI's mute config
This commit is contained in:
parent
0f853f3665
commit
d756012ea3
|
@ -113,7 +113,7 @@ INT_PTR CALLBACK DlgAudioConfigProc(HWND hWndDlg, UINT uMsg, WPARAM wParam, LPAR
|
|||
|
||||
SendMessage(GetDlgItem(hWndDlg, IDC_AC_UNKNOWN_CODEC), BM_SETCHECK, (WPARAM)g_XBAudio.codec_unknown, 0);
|
||||
|
||||
SendMessage(GetDlgItem(hWndDlg, IDC_AC_MUTE_ON_UNFOCUS_DISABLE), BM_SETCHECK, (WPARAM)g_XBAudio.mute_on_unfocus==0, 0);
|
||||
SendMessage(GetDlgItem(hWndDlg, IDC_AC_MUTE_WHEN_UNFOCUS), BM_SETCHECK, (WPARAM)g_XBAudio.mute_on_unfocus==true, 0);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
@ -168,9 +168,9 @@ INT_PTR CALLBACK DlgAudioConfigProc(HWND hWndDlg, UINT uMsg, WPARAM wParam, LPAR
|
|||
|
||||
g_XBAudio.codec_unknown = (lRet == BST_CHECKED);
|
||||
|
||||
lRet = SendMessage(GetDlgItem(hWndDlg, IDC_AC_MUTE_ON_UNFOCUS_DISABLE), BM_GETCHECK, 0, 0);
|
||||
lRet = SendMessage(GetDlgItem(hWndDlg, IDC_AC_MUTE_WHEN_UNFOCUS), BM_GETCHECK, 0, 0);
|
||||
|
||||
g_XBAudio.mute_on_unfocus = (lRet != BST_CHECKED);
|
||||
g_XBAudio.mute_on_unfocus = (lRet == BST_CHECKED);
|
||||
}
|
||||
|
||||
/*! save audio configuration */
|
||||
|
|
|
@ -337,8 +337,7 @@ BEGIN
|
|||
LTEXT "Audio Adapter:",IDC_STATIC,13,14,57,8,0,WS_EX_RIGHT
|
||||
LTEXT "Codec Options:",IDC_STATIC,13,34,57,8,0,WS_EX_RIGHT
|
||||
LTEXT "Other Options:",IDC_STATIC,13,60,57,8,0,WS_EX_RIGHT
|
||||
CONTROL "Disable mute on unfocus",IDC_AC_MUTE_ON_UNFOCUS_DISABLE,
|
||||
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,78,60,97,10
|
||||
CONTROL "Mute when unfocus",IDC_AC_MUTE_WHEN_UNFOCUS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,78,60,78,10
|
||||
END
|
||||
|
||||
IDD_NETWORK_CFG DIALOGEX 0, 0, 404, 76
|
||||
|
|
|
@ -194,7 +194,7 @@
|
|||
#define ID_GUI_STATUS_LLE_FLAGS 1097
|
||||
#define ID_GUI_STATUS_XBOX_LED_COLOUR 1098
|
||||
#define ID_GUI_STATUS_LOG_ENABLED 1099
|
||||
#define IDC_AC_MUTE_ON_UNFOCUS_DISABLE 1101
|
||||
#define IDC_AC_MUTE_WHEN_UNFOCUS 1100
|
||||
#define IDC_XBOX_PORT_0 1158
|
||||
#define IDC_XBOX_PORT_1 1166
|
||||
#define IDC_XBOX_PORT_2 1174
|
||||
|
|
Loading…
Reference in New Issue