mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 13:08:50 +02:00
5142a7685d
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. |
||
---|---|---|
.. | ||
pulseaudio-enum-devices.c | ||
pulseaudio-output.c | ||
pulseaudio-wrapper.c | ||
pulseaudio-wrapper.h |