]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fix multichannel vorbis channel mappings
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 19 Feb 2009 11:35:05 +0000 (11:35 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 19 Feb 2009 11:35:05 +0000 (11:35 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8745 d7cf8633-e32d-0410-b094-e92efae38249

cap_ogg.c

index bc25d2ded76174ba4e3b2cbe28c52a7e16e99397..081c4f0a6cc511af105fe0449c69235d02f4528a 100644 (file)
--- 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)