You are not logged in.
Pages: 1
Hi there,
i'm using alsa and pulseaudio and would like to execute a shell script whenever the user changes audio settings (mute and volume). Is that possible somehow?
I've already tried to listen to some key events, which basically works but is not an option cause the user could as well use some sort of software mixer.
Thanks in advance.
Offline
You can add udev rules to /lib/udev/rules.d/90-alsa-restore.rules for alsa.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
You can watch /dev/snd/controlC0 (or equivalent) for ACCESS or CLOSE_WRITE with inotifywait.
Offline
Pages: 1