0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 13:08:50 +02:00
obs-studio/libobs/audio-monitoring/pulse
Kurt Kartaltepe 5142a7685d pulse: fill audio monitor buffer more aggressively
Previously we would wait for pulse to attempt to read from the monitor
source and obs buffered at least 5ms of audio data before we tried to
fill the buffer. In some cases this resulted in consistently triggering
underruns in pulse.

Instead we try to fill the buffer immediately as obs outputs audio data
and while the pa buffer is not full. We also stop trying to grow the
buffer to prevent underruns after we reach 1s of latency.
2021-11-04 13:00:46 -07:00
..
pulseaudio-enum-devices.c clang-format: Apply formatting 2019-06-23 23:49:10 -07:00
pulseaudio-output.c pulse: fill audio monitor buffer more aggressively 2021-11-04 13:00:46 -07:00
pulseaudio-wrapper.c audio-monitoring: Fix Pulse Audio crash 2020-01-18 10:46:56 -06:00
pulseaudio-wrapper.h docs/sphinx: Fix various typos 2019-10-14 17:19:38 -07:00