detonator icon indicating copy to clipboard operation
detonator copied to clipboard

Pulseaudio playback stops and stream pauses when underrun

Open ensisoft opened this issue 4 years ago • 0 comments

Pulseaudio by default stops and pauses the stream if it thinks the write operation didn't provide enough data. When the stream is paused the write callback is no longer called. This means that the audio source has no chance of providing more data.

I guess there are 2 options to try to fix this.

  • use the pa_buffer_attr to try to turn this feature off
  • resume the stream conditionally (uncorck) again

ensisoft avatar Aug 31 '21 07:08 ensisoft