search for: cutoff_hz

Displaying 1 result from an estimated 1 matches for "cutoff_hz".

2019 May 27
0
opus-1.3.1 patch for ARM Cortex-M4F (single precision)
...ncoder.c opus-1.3.1/src/opus_encoder.c --- opus-1.3.1-vanilla/src/opus_encoder.c 2019-04-11 07:47:31 +0800 +++ opus-1.3.1/src/opus_encoder.c 2019-05-27 17:19:54 +0800 @@ -348,8 +348,8 @@ static void hp_cutoff(const opus_val16 * opus_int32 Fc_Q19, r_Q28, r_Q22; (void)arch; - silk_assert( cutoff_Hz <= silk_int32_MAX / SILK_FIX_CONST( 1.5 * 3.14159 / 1000, 19 ) ); - Fc_Q19 = silk_DIV32_16( silk_SMULBB( SILK_FIX_CONST( 1.5 * 3.14159 / 1000, 19 ), cutoff_Hz ), Fs/1000 ); + silk_assert( cutoff_Hz <= silk_int32_MAX / SILK_FIX_CONST( 1.5f * PI / 1000, 19 ) ); + Fc_Q19 = silk_DIV32_16( s...