From b5270e0bb300f090c159803e79b50ba15b821b2e Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 2 Dec 2009 04:03:51 -0800 Subject: Use a channel-map to specify the output device channel order --- Alc/portaudio.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Alc/portaudio.c') diff --git a/Alc/portaudio.c b/Alc/portaudio.c index 5c90f611..580cc4fb 100644 --- a/Alc/portaudio.c +++ b/Alc/portaudio.c @@ -189,6 +189,8 @@ static ALCboolean pa_open_playback(ALCdevice *device, const ALCchar *deviceName) } outParams.channelCount = aluChannelsFromFormat(device->Format); + SetDefaultChannelOrder(device); + err = pPa_OpenStream(&data->stream, NULL, &outParams, device->Frequency, device->UpdateSize, paNoFlag, pa_callback, device); if(err != paNoError) -- cgit v1.2.3