diff options
Diffstat (limited to 'lib/rbcodec/codecs/libopus/opus_header.h')
-rw-r--r-- | lib/rbcodec/codecs/libopus/opus_header.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/rbcodec/codecs/libopus/opus_header.h b/lib/rbcodec/codecs/libopus/opus_header.h index 7bfacfe48c..2d97d0739c 100644 --- a/lib/rbcodec/codecs/libopus/opus_header.h +++ b/lib/rbcodec/codecs/libopus/opus_header.h | |||
@@ -30,6 +30,8 @@ | |||
30 | 30 | ||
31 | #include "ogg/ogg.h" | 31 | #include "ogg/ogg.h" |
32 | 32 | ||
33 | #define OPUS_DEMIXING_MATRIX_SIZE_MAX (18 * 18 * 2) | ||
34 | |||
33 | typedef struct { | 35 | typedef struct { |
34 | int version; | 36 | int version; |
35 | int channels; /* Number of channels: 1..255 */ | 37 | int channels; /* Number of channels: 1..255 */ |
@@ -41,10 +43,10 @@ typedef struct { | |||
41 | int nb_streams; | 43 | int nb_streams; |
42 | int nb_coupled; | 44 | int nb_coupled; |
43 | unsigned char stream_map[255]; | 45 | unsigned char stream_map[255]; |
46 | unsigned char dmatrix[OPUS_DEMIXING_MATRIX_SIZE_MAX]; | ||
44 | } OpusHeader; | 47 | } OpusHeader; |
45 | 48 | ||
46 | int opus_header_parse(const unsigned char *header, int len, OpusHeader *h); | 49 | int opus_header_parse(const unsigned char *header, int len, OpusHeader *h); |
47 | int opus_header_to_packet(const OpusHeader *h, unsigned char *packet, int len); | ||
48 | 50 | ||
49 | extern const int wav_permute_matrix[8][8]; | 51 | extern const int wav_permute_matrix[8][8]; |
50 | 52 | ||