Commit f9c766b9 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

aout: also move output queue when resuming

Previously, most of the audio samples in the left in the output buffer
during pause where dropped out on resume. This should fix it.
parent 3458cafb
......@@ -231,10 +231,8 @@ void aout_DecChangePause( audio_output_t *p_aout, aout_input_t *p_input, bool b_
if( i_duration != 0 )
{
for( aout_buffer_t *p = p_input->fifo.p_first; p != NULL; p = p->p_next )
{
p->i_pts += i_duration;
}
aout_FifoMoveDates( &p_input->fifo, i_duration );
aout_FifoMoveDates( &p_aout->fifo, i_duration );
}
aout_OutputPause( p_aout, b_paused, i_date );
aout_unlock( p_aout );
......
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