shithub: opus-tools

Download patch

ref: bc190e538bcaa2786e1a9697d2763153621e1eea
parent: 1013d96cfe9cab16f66c31745700d257e777cfef
author: Mark Harris <mark.hsj@gmail.com>
date: Wed Sep 30 21:50:35 EDT 2015

opusdec: Fix channel mask in mono float WAV output

Mono channel mask changed from 1 (front left) to 4 (front center)
in WAV output.

--- a/src/wav_io.c
+++ b/src/wav_io.c
@@ -114,7 +114,7 @@
       };
       static const int wav_channel_masks[8] =
       {
-         1,                      /* 1.0 mono */
+         4,                      /* 1.0 mono */
          1|2,                    /* 2.0 stereo */
          1|2|4,                  /* 3.0 channel ('wide') stereo */
          1|2|16|32,              /* 4.0 discrete quadrophonic */