Small improvements to p1_audio_flush_out_buffer.