Commit Graph

4 Commits

Author SHA1 Message Date
Daniel Drake
2937a09ead Use g_timeout_add_seconds() for power efficiency
This attempts to align second-granularity wakeups across the system,
reducing CPU wakeups a little.

I considered all timeouts of duration 1 second or greater, and moved
the non-timing-critical ones to g_timeout_add_seconds(). (Actually,
I didn't find any that I felt were timing-critical)
2008-12-18 19:56:08 +00:00
Marco Pesenti Gritti
5ecfcba365 No need to test alsa open at object creationg, since
we don't have a fallback.
2008-09-14 12:55:16 +02:00
Marco Pesenti Gritti
be7b97dde7 Fix weird handling of error condition when opening alsa. 2008-09-13 22:52:20 +02:00
Marco Pesenti Gritti
be014cc270 Alsa based volume control API, stealed from gnome-settings-daemon. #8375 2008-09-13 13:48:25 +02:00