jp9000/obs-studio — pull request #277 by fryshorts (2014-10-09 19:25:48+00:00)
Title: Fix small bug in timestamp smoothing for audio sources

Due to a small error in the timestamp smoothing code the timestamp of
audio packages that were too early was always set to the next expected
timestamp, even if the difference was bigger than the smoothing threshold.

This would cause obs to simply append all audio data to the buffer even if
the real timestamp was way smaller than the latest in the buffer.

This should reduce corruption problems with for example the pulseaudio
plugin, which resends data under certain conditions.