From a0b94f5a5a79dc29009512eb499b48a3e946e6f2 Mon Sep 17 00:00:00 2001 From: divverent Date: Thu, 19 Feb 2009 11:35:05 +0000 Subject: [PATCH] fix multichannel vorbis channel mappings git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8745 d7cf8633-e32d-0410-b094-e92efae38249 --- cap_ogg.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cap_ogg.c b/cap_ogg.c index bc25d2de..081c4f0a 100644 --- a/cap_ogg.c +++ b/cap_ogg.c @@ -896,10 +896,10 @@ channelmapping_t mapping[8] = { 0, 1, -1, -1, -1, -1, -1, -1 }, // stereo { 0, 1, 2, -1, -1, -1, -1, -1 }, // L C R { 0, 1, 2, 3, -1, -1, -1, -1 }, // surround40 - { 0, 4, 1, 2, 3, -1, -1, -1 }, // FL FC FR RL RR - { 0, 4, 1, 2, 3, 5, -1, -1 }, // surround51 - { 0, 4, 1, 2, 3, 5, 6, -1 }, // (not defined by vorbis spec) - { 0, 4, 1, 2, 3, 5, 6, 7 } // surround71 (not defined by vorbis spec) + { 0, 2, 3, 4, 1, -1, -1, -1 }, // FL FC FR RL RR + { 0, 2, 3, 4, 1, 5, -1, -1 }, // surround51 + { 0, 2, 3, 4, 1, 5, 6, -1 }, // (not defined by vorbis spec) + { 0, 2, 3, 4, 1, 5, 6, 7 } // surround71 (not defined by vorbis spec) }; static void SCR_CaptureVideo_Ogg_SoundFrame(const portable_sampleframe_t *paintbuffer, size_t length) -- 2.39.2