diff options
Diffstat (limited to 'lib/rbcodec/codecs/libopus/silk/resampler_structs.h')
-rw-r--r-- | lib/rbcodec/codecs/libopus/silk/resampler_structs.h | 7 |
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. | |||
12 | names of specific contributors, may be used to endorse or promote | 12 | names of specific contributors, may be used to endorse or promote |
13 | products derived from this software without specific prior written | 13 | products derived from this software without specific prior written |
14 | permission. | 14 | permission. |
15 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” | 15 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
16 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | 16 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
17 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | 17 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
18 | ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE | 18 | ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE |
@@ -37,7 +37,10 @@ extern "C" { | |||
37 | 37 | ||
38 | typedef struct _silk_resampler_state_struct{ | 38 | typedef 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; |