summaryrefslogtreecommitdiff
path: root/lib/rbcodec/codecs/libopus/silk/resampler_structs.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rbcodec/codecs/libopus/silk/resampler_structs.h')
-rw-r--r--lib/rbcodec/codecs/libopus/silk/resampler_structs.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/rbcodec/codecs/libopus/silk/resampler_structs.h b/lib/rbcodec/codecs/libopus/silk/resampler_structs.h
index 4c28bd0a2f..cbcac20fe7 100644
--- a/lib/rbcodec/codecs/libopus/silk/resampler_structs.h
+++ b/lib/rbcodec/codecs/libopus/silk/resampler_structs.h
@@ -12,7 +12,7 @@ documentation and/or other materials provided with the distribution.
12names of specific contributors, may be used to endorse or promote 12names of specific contributors, may be used to endorse or promote
13products derived from this software without specific prior written 13products derived from this software without specific prior written
14permission. 14permission.
15THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS AS IS 15THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
16AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 18ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
@@ -37,7 +37,10 @@ extern "C" {
37 37
38typedef struct _silk_resampler_state_struct{ 38typedef struct _silk_resampler_state_struct{
39 opus_int32 sIIR[ SILK_RESAMPLER_MAX_IIR_ORDER ]; /* this must be the first element of this struct */ 39 opus_int32 sIIR[ SILK_RESAMPLER_MAX_IIR_ORDER ]; /* this must be the first element of this struct */
40 opus_int32 sFIR[ SILK_RESAMPLER_MAX_FIR_ORDER ]; 40 union{
41 opus_int32 i32[ SILK_RESAMPLER_MAX_FIR_ORDER ];
42 opus_int16 i16[ SILK_RESAMPLER_MAX_FIR_ORDER ];
43 } sFIR;
41 opus_int16 delayBuf[ 48 ]; 44 opus_int16 delayBuf[ 48 ];
42 opus_int resampler_function; 45 opus_int resampler_function;
43 opus_int batchSize; 46 opus_int batchSize;