protocol-native: Stop auto timing updates if connected to suspended sink or source
authorJyri Sarha <jyri.sarha@nokia.com>
Fri, 8 Apr 2011 14:18:12 +0000 (17:18 +0300)
committerColin Guthrie <colin@mageia.org>
Sun, 15 May 2011 13:58:12 +0000 (14:58 +0100)
commit47b7ca830e132ee585f9df6efb4aef82f2713d09
treec89c367b7067c196d8306aea4fd1c8b235cee285
parentd5cb59a8d676f2487fa7448f778f608ec3f6d3b8
protocol-native: Stop auto timing updates if connected to suspended sink or source

This quite is an old patch. It was added to N900 to avoid unnecessary
wake-ups when the phone is in power save mode (= blank screen and
no user interaction). In this situation if the user had a browser
window with flash animation open pulseaudio kept waking up every
10 seconds, causing a severe hit to use times.

Anyway I do not see any reason to send timing updates if the sink or
source where the stream is connected to is suspended.
src/pulse/stream.c