summaryrefslogtreecommitdiff
path: root/libmatemixer.pot
diff options
context:
space:
mode:
authorVille Syrjälä <[email protected]>2020-12-13 18:53:33 +0200
committerraveit65 <[email protected]>2020-12-26 23:36:11 +0100
commit1b96bc58cb4ce0ce8f90ec26c97437aaed994001 (patch)
treef601dd7d828d6067f3a1ccb2a88cff1026cc1fbe /libmatemixer.pot
parent31da9e1847a5da12c9d81386a29c647908974227 (diff)
downloadlibmatemixer-1b96bc58cb4ce0ce8f90ec26c97437aaed994001.tar.bz2
libmatemixer-1b96bc58cb4ce0ce8f90ec26c97437aaed994001.tar.xz
alsa: Add udev support
Instead of polling for new devices once per second ask udev to send us events. Avoids waking up the CPU all the time and wasting power. We keep the timeout source as a fallback when udev support is not enabled, or the udev setup fails for whatever reason. The logic for udev_event_ok() was snooped from pulseaudio.
Diffstat (limited to 'libmatemixer.pot')
0 files changed, 0 insertions, 0 deletions