13
0
livetrax/libs/backends/pulseaudio
Mads Kiilerich 04c24be2db
PulseAudio: don't drain the stream right after initial uncorking
The draining was introduced in ae3c8b19c6, apparently as an experiment
doing several changes. But the drain is outside the loop where
freewheeling changes, so the fix must have worked for other reasons.

There doesn't seem to be any benefit from draining at that point. The
stream is already empty. If not, we could have flushed it.

Draining right after uncorking will conceptualy create an intentional
underflow, even though it isn't reported as such. PipeWire seems to
(something like 6-12 months ago) have regressed in handling of that grey
area, causing that *underflow* to cause a request for too much data, and
thus causing constant *overflows* and unusable playback.

This change makes PulseAudio playback work for me again.
2022-11-02 02:24:34 +01:00
..
pulseaudio_backend.cc PulseAudio: don't drain the stream right after initial uncorking 2022-11-02 02:24:34 +01:00
pulseaudio_backend.h Use shared port engine MIDI event compare operator 2021-11-30 19:41:39 +01:00
wscript wscript: drop configure statements already present in the top level wscript 2022-01-22 22:19:03 +01:00