From: divverent Date: Thu, 19 Feb 2009 11:35:05 +0000 (+0000) Subject: fix multichannel vorbis channel mappings X-Git-Tag: xonotic-v0.1.0preview~1850 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a0b94f5a5a79dc29009512eb499b48a3e946e6f2;p=xonotic%2Fdarkplaces.git fix multichannel vorbis channel mappings git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8745 d7cf8633-e32d-0410-b094-e92efae38249 --- 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)