Unverified Commit e7f7ebb8 authored by Jean-Marc Valin's avatar Jean-Marc Valin
Browse files

Remove wav_permute_matrix[][]

It got copied from opus-tools, but it's not needed.
parent 849eaccf
......@@ -262,17 +262,3 @@ int comment_replace_vendor_string(char **comments, int* length, const char *vend
#undef readint
#undef writeint
/* This is just here because it's a convenient file linked by both opusenc and
opusdec (to guarantee this maps stays in sync). */
const int wav_permute_matrix[8][8] =
{
{0}, /* 1.0 mono */
{0,1}, /* 2.0 stereo */
{0,2,1}, /* 3.0 channel ('wide') stereo */
{0,1,2,3}, /* 4.0 discrete quadraphonic */
{0,2,1,3,4}, /* 5.0 surround */
{0,2,1,4,5,3}, /* 5.1 surround */
{0,2,1,5,6,4,3}, /* 6.1 surround */
{0,2,1,6,7,4,5,3} /* 7.1 surround (classic theater 8-track) */
};
......@@ -46,8 +46,6 @@ typedef struct {
int opus_header_to_packet(const OpusHeader *h, unsigned char *packet, int len);
extern const int wav_permute_matrix[8][8];
void comment_init(char **comments, int* length, const char *vendor_string);
int comment_add(char **comments, int* length, const char *tag, const char *val);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment