[alsa-devel] Access dummy mixer control through filesystem

Muffinman news at koster.tk
Fri Oct 26 17:21:06 CEST 2012

Hello all,

I want to write an application that tracks in realtime changes in a
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. Is there some other location I
can find this control?

If this is not possible for this type of control, can someone advise me
on what language to use for this project?

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'


More information about the Alsa-devel mailing list