Hello all,
I want to write an application that monitors in realtime changes in an Alsa dummy mixer
control (though not sure which language yet). I think its best to try to track those
changes through the filesystem. For non-dummy mixer controls I can access them through:
/proc/asound/cardx/codecxxx/xxxx+regs. However, it seems that this does not work for this
dummy mixer control. Can someone point me a bit in a direction where I should for a
solution (language/library)?
Whichever language I use I still have quite a bit to learn. However, I do would like to
find out whether it is even possible in a certain language before I invest a lot of effort
in it (without result). I've tried Python, but getting it working in realtime is
likely going to be very hard (if possible at all).
Kind regards, Maarten
ps. I've defined the dummy mixer control in /var/lib/alsa/asound.state
as shown below:
state.DAC {
control.12345 {
iface MIXER
name 'Fake Playback Volume'
value 100
comment {
access 'read write user'
type INTEGER
count 1
range '0 - 100'
}
}
}