Commit 7cf5d92e authored by Tristan Matthews's avatar Tristan Matthews

spatialaudio: use CLOCK_FREQ

parent f6b2aec1
......@@ -185,7 +185,7 @@ static block_t *Mix( filter_t *p_filter, block_t *p_buf )
else
p_out_buf->i_pts = p_sys->i_inputPTS;
p_out_buf->i_dts = p_out_buf->i_pts;
p_out_buf->i_length = p_out_buf->i_nb_samples * INT64_C(1000000) / p_filter->fmt_in.audio.i_rate;
p_out_buf->i_length = p_out_buf->i_nb_samples * CLOCK_FREQ / p_filter->fmt_in.audio.i_rate;
float *p_dest = (float *)p_out_buf->p_buffer;
const float *p_src = (float *)p_sys->inputSamples.data();
......
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