Commit c19c0098 authored by Rafaël Carré's avatar Rafaël Carré

opensles: reset properly on flush

parent bd36b95a
......@@ -143,6 +143,8 @@ static void Flush(audio_output_t *p_aout, bool drain)
SetPlayState( p_sys->playerPlay, SL_PLAYSTATE_PLAYING );
p_sys->length = 0;
p_sys->last_callback = 0;
p_sys->buffers = 0;
/* release audio data not yet written to opensles */
block_ChainRelease( p_sys->p_buffer_chain );
......
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