From f8dbfc867b2e066904073de09914fb8074863354 Mon Sep 17 00:00:00 2001 From: mchinen Date: Sun, 13 Feb 2011 14:33:20 +0000 Subject: [PATCH] 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. --- lib-src/portmixer/src/px_win_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib-src/portmixer/src/px_win_common.c b/lib-src/portmixer/src/px_win_common.c index 9a597cb42..789a58508 100644 --- a/lib-src/portmixer/src/px_win_common.c +++ b/lib-src/portmixer/src/px_win_common.c @@ -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; }