aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/portaudio.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2009-12-02 04:03:51 -0800
committerChris Robinson <[email protected]>2009-12-02 04:03:51 -0800
commitb5270e0bb300f090c159803e79b50ba15b821b2e (patch)
tree3acfd1add6598701dbb4350649339fcf1a853b8a /Alc/portaudio.c
parent6cfc31777b7cca6714cf926fbc6e491c00a3f836 (diff)
Use a channel-map to specify the output device channel order
Diffstat (limited to 'Alc/portaudio.c')
-rw-r--r--Alc/portaudio.c2
1 files changed, 2 insertions, 0 deletions
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)