bug 11 - fix issue where input sources wouldn't be shown under some conditions under win xp.

note that this change may require a solution clean and rebuild because it is in libsrc.
Also affects bug 29, as before portmixer was fetching the wrong mixer when many devices were available, but this does not address all issues.
This commit is contained in:
mchinen 2011-02-13 14:33:20 +00:00
parent fd9ac6bf09
commit f8dbfc867b
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ int open_mixers(px_mixer *Px, UINT deviceIn, UINT deviceOut)
res = mixerGetID((HMIXEROBJ) (deviceOut == WAVE_MAPPER ? 0 : deviceOut),
&deviceOut,
MIXER_OBJECTF_WAVEIN);
MIXER_OBJECTF_WAVEOUT);
if (res != MMSYSERR_NOERROR) {
return FALSE;
}