File tree 1 file changed +2
-2
lines changed
shared-module/audiofreeverb
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -177,8 +177,8 @@ void common_hal_audiofreeverb_freeverb_set_mix(audiofreeverb_freeverb_obj_t *sel
177
177
178
178
void audiofreeverb_freeverb_get_mix_fixedpoint (mp_float_t mix , int16_t * mix_sample , int16_t * mix_effect ) {
179
179
mix = mix * (mp_float_t )MICROPY_FLOAT_CONST (2.0 );
180
- * mix_sample = (int16_t )MIN ((mp_float_t )MICROPY_FLOAT_CONST (2.0 ) - mix , (mp_float_t )MICROPY_FLOAT_CONST (1.0 )) * 32767 ;
181
- * mix_effect = (int16_t )MIN (mix , (mp_float_t )MICROPY_FLOAT_CONST (1.0 )) * 32767 ;
180
+ * mix_sample = (int16_t )( MIN ((mp_float_t )MICROPY_FLOAT_CONST (2.0 ) - mix , (mp_float_t )MICROPY_FLOAT_CONST (1.0 )) * 32767 ) ;
181
+ * mix_effect = (int16_t )( MIN (mix , (mp_float_t )MICROPY_FLOAT_CONST (1.0 )) * 32767 ) ;
182
182
}
183
183
184
184
void audiofreeverb_freeverb_reset_buffer (audiofreeverb_freeverb_obj_t * self ,
You can’t perform that action at this time.
0 commit comments