aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alsa.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/alsa.c
parent6cfc31777b7cca6714cf926fbc6e491c00a3f836 (diff)
Use a channel-map to specify the output device channel order
Diffstat (limited to 'Alc/alsa.c')
-rw-r--r--Alc/alsa.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Alc/alsa.c b/Alc/alsa.c
index 85092ceb..25956746 100644
--- a/Alc/alsa.c
+++ b/Alc/alsa.c
@@ -663,6 +663,8 @@ static ALCboolean alsa_reset_playback(ALCdevice *device)
psnd_pcm_sw_params_free(sp);
+ SetDefaultChannelOrder(device);
+
data->size = psnd_pcm_frames_to_bytes(data->pcmHandle, periodSizeInFrames);
if(access == SND_PCM_ACCESS_RW_INTERLEAVED)
{