Commit 6227d134 authored by Gildas Bazin's avatar Gildas Bazin

* src/audio_output/input.c: made the resampling just a bit quicker (trying to...

* src/audio_output/input.c: made the resampling just a bit quicker (trying to reach a good compromise).
parent e7396f14
...@@ -484,11 +484,11 @@ int aout_InputPlay( aout_instance_t * p_aout, aout_input_t * p_input, ...@@ -484,11 +484,11 @@ int aout_InputPlay( aout_instance_t * p_aout, aout_input_t * p_input,
if( p_input->i_resampling_type == AOUT_RESAMPLING_UP ) if( p_input->i_resampling_type == AOUT_RESAMPLING_UP )
{ {
p_input->pp_resamplers[0]->input.i_rate += 1; /* Hz */ p_input->pp_resamplers[0]->input.i_rate += 2; /* Hz */
} }
else else
{ {
p_input->pp_resamplers[0]->input.i_rate -= 1; /* Hz */ p_input->pp_resamplers[0]->input.i_rate -= 2; /* Hz */
} }
/* Check if everything is back to normal, in which case we can stop the /* Check if everything is back to normal, in which case we can stop the
......
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