Displaying 1 result from an estimated 1 matches for "2d1bdd6".
Did you mean:
21bd96
2013 Jan 18
0
[PATCH] Add appropriate WAV channel masks for 7 and 8 channel files.
...d input WAV files, and writes the corresponding masks when
decoding to WAV without a channel mask from the metadata block.
---
src/flac/decode.c | 5 +++++
src/flac/encode.c | 4 +++-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/src/flac/decode.c b/src/flac/decode.c
index 98fc430..2d1bdd6 100644
--- a/src/flac/decode.c
+++ b/src/flac/decode.c
@@ -354,6 +354,11 @@ FLAC__bool DecoderSession_process(DecoderSession *d)
else if(d->channels == 6) {
d->channel_mask = 0x060f;
}
+ else if(d->channels == 7) {
+ d->channel_mask = 0x07...