]> code.delx.au - pulseaudio/commit
Correctly deal with events in the past in calc_next_timeout
authorMaxim Levitsky <maximlevitsky@gmail.com>
Sun, 9 Aug 2009 00:01:08 +0000 (03:01 +0300)
committerLennart Poettering <lennart@poettering.net>
Mon, 10 Aug 2009 19:23:26 +0000 (21:23 +0200)
commit23a294c97e62e0bee9b17b1f8ad20a39e1ba15da
tree0e267dbcb74288302fbc77a8043210e584ad6647
parent9bd3398f94114387dc91bf930bdad90d58711e88
Correctly deal with events in the past in calc_next_timeout

pa_usec_t is unsigned, thus it will always be >= 0
This makes gstreamer pulse mixer work again

This fixes a gstreamer mixer regression, when it can't control the volume,
after few changes.
src/pulse/mainloop.c