mirror of https://github.com/mpv-player/mpv.git
ao_pulse: reenable latency hacks by default
As far as I can tell PulseAudio introduced a bug in 16.0 where if a stream is (un)paused too often the reported latency will momentarily spike by 3000% or more. Apparently in certain cases just pausing once and waiting can also cause this. Save the remaining users of PA the trouble of debugging the various obscure issues that can arise from this (desync is a harmless example) by enabling the latency hack code again. ref: <https://github.com/mpv-player/mpv/issues/12057> <https://github.com/mpv-player/mpv/issues/10333>
This commit is contained in:
parent
7490919a9a
commit
8e3737ab63
|
@ -0,0 +1 @@
|
|||
change `--pulse-latency-hacks` default to `yes`
|
|
@ -804,6 +804,7 @@ const struct ao_driver audio_out_pulse = {
|
|||
.priv_size = sizeof(struct priv),
|
||||
.priv_defaults = &(const struct priv) {
|
||||
.cfg_buffer = 100,
|
||||
.cfg_latency_hacks = true,
|
||||
},
|
||||
.options = (const struct m_option[]) {
|
||||
{"host", OPT_STRING(cfg_host)},
|
||||
|
|
Loading…
Reference in New Issue