diff options
author | Chris Robinson <[email protected]> | 2009-12-02 04:03:51 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2009-12-02 04:03:51 -0800 |
commit | b5270e0bb300f090c159803e79b50ba15b821b2e (patch) | |
tree | 3acfd1add6598701dbb4350649339fcf1a853b8a /Alc/portaudio.c | |
parent | 6cfc31777b7cca6714cf926fbc6e491c00a3f836 (diff) |
Use a channel-map to specify the output device channel order
Diffstat (limited to 'Alc/portaudio.c')
-rw-r--r-- | Alc/portaudio.c | 2 |
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) |