mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 10:03:26 +00:00
[SNDVOL32] Fix the positions and sizes of the separators of the normal line dialog and load the master dialogs for speakers or headphones.
This commit is contained in:
parent
f4320047c3
commit
d1093e8750
29 changed files with 63 additions and 57 deletions
|
@ -434,7 +434,13 @@ EnumConnectionsCallback(
|
|||
/* is it selected */
|
||||
if (Flags != 0x4)
|
||||
{
|
||||
int dlgId = (PrefContext->MixerWindow->Mode == SMALL_MODE) ? IDD_SMALL_MASTER : IDD_NORMAL_MASTER;
|
||||
int dlgId;
|
||||
|
||||
if ((Line->dwComponentType == MIXERLINE_COMPONENTTYPE_DST_SPEAKERS) ||
|
||||
(Line->dwComponentType == MIXERLINE_COMPONENTTYPE_DST_HEADPHONES))
|
||||
dlgId = (PrefContext->MixerWindow->Mode == SMALL_MODE) ? IDD_SMALL_MASTER : IDD_NORMAL_MASTER;
|
||||
else
|
||||
dlgId = (PrefContext->MixerWindow->Mode == SMALL_MODE) ? IDD_SMALL_LINE : IDD_NORMAL_LINE;
|
||||
|
||||
/* load dialog resource */
|
||||
LoadDialog(hAppInstance, PrefContext->MixerWindow, MAKEINTRESOURCE(dlgId), PrefContext->Count);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue