From: Claus Ilginnis <Claus@Ilginnis.de>
To: alsa-devel@alsa-project.org
Subject: Detect when sound card is in use
Date: Tue, 28 Apr 2009 21:16:26 +0200 [thread overview]
Message-ID: <1240946186.6657.8.camel@trex> (raw)
Hi everyone,
I have a problem and I dont't know where to ask my questions anymore, so
I hope this mailing list can help me make progress with my problem....
I have a speaker set connected to an USB-Power-Plug (by which I can turn
the speakers on and off )
Now I want to detect, when the soundcard is in use and when not.
(to turn the speakers on when needed...)
(I am a C++ programmer so I can mess some things up)
So my question is:
Which way is best to detect wheather my sound card is in use or not ?
Is there a general overview/documentation of the sound kernel modules
which describes the general relationship between them ?
What would you do ?
PLEASE help !
-
Mit freundlichen Grüßen / Best regards
Claus Ilginnis
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
next reply other threads:[~2009-04-28 19:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-28 19:16 Claus Ilginnis [this message]
2009-04-29 6:40 ` Detect when sound card is in use Takashi Iwai
2009-04-29 7:16 ` Clemens Ladisch
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=1240946186.6657.8.camel@trex \
--to=claus@ilginnis.de \
--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