Commit b8c7cb74 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

chorus_flanger: No need to cast here.

parent e8559279
...@@ -238,8 +238,8 @@ static void DoWork( aout_instance_t *p_aout, aout_filter_t *p_filter, ...@@ -238,8 +238,8 @@ static void DoWork( aout_instance_t *p_aout, aout_filter_t *p_filter,
struct aout_filter_sys_t *p_sys = p_filter->p_sys; struct aout_filter_sys_t *p_sys = p_filter->p_sys;
int i_chan; int i_chan;
int i_samples = p_in_buf->i_nb_samples; /* Gives the number of samples */ int i_samples = p_in_buf->i_nb_samples; /* Gives the number of samples */
int i_maxOffset = (int)floor( p_sys->f_sweepDepth * p_sys->i_sampleRate / /* maximum number of samples to offset in buffer */
1000 ); /*maximum number of samples to offset in buffer */ int i_maxOffset = floor( p_sys->f_sweepDepth * p_sys->i_sampleRate / 1000 );
float *p_out = (float*)p_out_buf->p_buffer; float *p_out = (float*)p_out_buf->p_buffer;
float *p_in = (float*)p_in_buf->p_buffer; float *p_in = (float*)p_in_buf->p_buffer;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment