mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 12:49:45 +00:00
Make wineoss's mixer know about DST_HEADPHONES, DST_LINE and
DST_VOICEIN. Use proper constants instead of 0 and 1.
This commit is contained in:
parent
01239efa4a
commit
d5749b454d
@ -860,11 +860,14 @@ static DWORD MIX_GetLineInfo(WORD wDevID, LPMIXERLINEW lpMl, DWORD fdwInfo)
|
||||
getComponentType(lpMl->dwComponentType));
|
||||
switch (lpMl->dwComponentType)
|
||||
{
|
||||
case MIXERLINE_COMPONENTTYPE_DST_HEADPHONES:
|
||||
case MIXERLINE_COMPONENTTYPE_DST_SPEAKERS:
|
||||
ret = MIX_GetLineInfoDst(mix, lpMl, 0);
|
||||
ret = MIX_GetLineInfoDst(mix, lpMl, LINEID_SPEAKER);
|
||||
break;
|
||||
case MIXERLINE_COMPONENTTYPE_DST_LINE:
|
||||
case MIXERLINE_COMPONENTTYPE_DST_VOICEIN:
|
||||
case MIXERLINE_COMPONENTTYPE_DST_WAVEIN:
|
||||
ret = MIX_GetLineInfoDst(mix, lpMl, 1);
|
||||
ret = MIX_GetLineInfoDst(mix, lpMl, LINEID_RECORD);
|
||||
break;
|
||||
case MIXERLINE_COMPONENTTYPE_SRC_SYNTHESIZER:
|
||||
ret = MIX_GetLineInfoSrc(mix, lpMl, SOUND_MIXER_SYNTH, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user