Add appropriate WAV channel masks for 7 and 8 channel files.

This commit accepts the new default channel masks for 6.1 and 7.1
surround input WAV files, and writes the corresponding masks when
decoding to WAV without a channel mask from the metadata block.

The local copy of the format spec is also updated with the new text
from the flac-website repository.

Patch from Ralph Giles <giles@mozilla.com>
This commit is contained in:
Erik de Castro Lopo
2013-03-02 14:09:46 +11:00
parent d75cb67d7f
commit c8adb080b0
3 changed files with 23 additions and 7 deletions

View File

@@ -1247,11 +1247,11 @@
<li>1 channel: mono</li>
<li>2 channels: left, right</li>
<li>3 channels: left, right, center</li>
<li>4 channels: left, right, back left, back right</li>
<li>5 channels: left, right, center, back/surround left, back/surround right</li>
<li>6 channels: left, right, center, LFE, back/surround left, back/surround right</li>
<li>7 channels: not defined</li>
<li>8 channels: not defined</li>
<li>4 channels: front left, front right, back left, back right</li>
<li>5 channels: front left, front right, front center, back/surround left, back/surround right</li>
<li>6 channels: front left, front right, front center, LFE, back/surround left, back/surround right</li>
<li>7 channels: front left, front right, front center, LFE, back center, side left, side right</li>
<li>8 channels: front left, front right, front center, LFE, back left, back right, side left, side right</li>
</ul>
</li>
<li>