]> git.sesse.net Git - vlc/commit
PulseAudio: remove broken logic
authorRémi Denis-Courmont <remi@remlab.net>
Mon, 2 Sep 2013 20:01:17 +0000 (23:01 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Mon, 2 Sep 2013 20:08:54 +0000 (23:08 +0300)
commit5e2cb4628173e5c42b9918644b1ae7f91f2e062e
tree7310f780a04d8bedb7345b439664f7f15fabb66a
parentc7a7824f98d4953fe43b284650ba22240282c96a
PulseAudio: remove broken logic

sys->first_pts is the time the stream started originally, but was
mistaken as the time of the stream was paused.

Now, it is assumed that pausing and resuming take approximately the
same time. This is usually true, and if it is not, there is no way for
either VLC or PulseAudio to know (since ALSA does not expose
pause/resume latency informations for the underlying devices).

In practice, this makes no real difference other than removing a bogus
warning about being late when resuming from pause.
modules/audio_output/pulse.c