| Index: silk/resampler_structs.h
|
| diff --git a/silk/resampler_structs.h b/silk/resampler_structs.h
|
| index 4c28bd0a2f09332548503a05bbee2d5747199cc8..9e9457d11cacb915d0549de86e33c2aa41c32924 100644
|
| --- a/silk/resampler_structs.h
|
| +++ b/silk/resampler_structs.h
|
| @@ -8,11 +8,11 @@ this list of conditions and the following disclaimer.
|
| - Redistributions in binary form must reproduce the above copyright
|
| notice, this list of conditions and the following disclaimer in the
|
| documentation and/or other materials provided with the distribution.
|
| -- Neither the name of Internet Society, IETF or IETF Trust, nor the
|
| +- Neither the name of Internet Society, IETF or IETF Trust, nor the
|
| names of specific contributors, may be used to endorse or promote
|
| products derived from this software without specific prior written
|
| permission.
|
| -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS”
|
| +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
| AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
| IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
| ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
| @@ -37,7 +37,10 @@ extern "C" {
|
|
|
| typedef struct _silk_resampler_state_struct{
|
| opus_int32 sIIR[ SILK_RESAMPLER_MAX_IIR_ORDER ]; /* this must be the first element of this struct */
|
| - opus_int32 sFIR[ SILK_RESAMPLER_MAX_FIR_ORDER ];
|
| + union{
|
| + opus_int32 i32[ SILK_RESAMPLER_MAX_FIR_ORDER ];
|
| + opus_int16 i16[ SILK_RESAMPLER_MAX_FIR_ORDER ];
|
| + } sFIR;
|
| opus_int16 delayBuf[ 48 ];
|
| opus_int resampler_function;
|
| opus_int batchSize;
|
|
|