diff --git a/lib-src/portmixer/src/px_win_endpoint.c b/lib-src/portmixer/src/px_win_endpoint.c index 2f891a92f..258515882 100644 --- a/lib-src/portmixer/src/px_win_endpoint.c +++ b/lib-src/portmixer/src/px_win_endpoint.c @@ -168,7 +168,7 @@ int open_ep_mixers(px_mixer *Px, UINT deviceIn, UINT deviceOut) } } - if (deviceIn == WAVE_MAPPER) { + if (deviceOut == WAVE_MAPPER) { hr = IMMDeviceEnumerator_GetDefaultAudioEndpoint(denum, eRender, eMultimedia,