From: Muffinman <news@koster.tk>
To: alsa-devel@alsa-project.org
Subject: Access dummy mixer control through filesystem
Date: Fri, 26 Oct 2012 17:21:06 +0200 [thread overview]
Message-ID: <508AAA62.1010804@koster.tk> (raw)
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'
}
}
}
reply other threads:[~2012-10-26 15:21 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=508AAA62.1010804@koster.tk \
--to=news@koster.tk \
--cc=alsa-devel@alsa-project.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).