Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Sean Thayne <sthayne@summitmediagroupllc.com>
To: alsa-devel@alsa-project.org
Subject: Re: How can you tell if the speaker jack on your	sound card has anything plugged into it???
Date: Fri, 25 Apr 2008 15:02:09 -0600	[thread overview]
Message-ID: <481246D1.1050101@summitmediagroupllc.com> (raw)
In-Reply-To: <4812458E.5030508@freescale.com>

How do you think Vista does it? I've used a couple of different 
computers (totally different hardware) and it can detect insertion for 
them all...

Timur Tabi wrote:
> Sean Thayne wrote:
>   
>> How would one go about getting this info? I'm trying to create a 
>> monitoring tool for a specific sound card, so the driver's standardized...
>>     
>
> First, the hardware has to detect insertion.  Then, it has to send a 
> signal to the driver (either via a status register or an interrupt).
>
> Assuming you have all that (I've never seen a sound card that provides 
> this info), perhaps you can specify the output jack only when something 
> is plugged in?  That is, you register the output jack when something is 
> plugged in, and then deregister it when something is removed.
>
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>
>
>   

-- 
Sean Thayne
Summit Media Group LLC.
5532 Lillehammer Lane, Suite 300
Park City, UT 84098
T: (435) 575-0610 ext 115
F: (435) 615-9979
E: sthayne@smgroupllc.com <mailto:sthayne@smgroupllc.com>
W: http://www.smgroupllc.com

  reply	other threads:[~2008-04-25 21:02 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-25 19:29 How can you tell if the speaker jack on your sound card has anything plugged into it??? Sean Thayne
2008-04-25 19:49 ` Mark Brown
2008-04-25 20:53   ` Sean Thayne
2008-04-25 20:56     ` Timur Tabi
2008-04-25 21:02       ` Sean Thayne [this message]
2008-04-25 21:04         ` Timur Tabi
2008-04-25 22:02       ` Mark Brown
2008-04-25 21:08   ` Robert Jarzmik
2008-04-25 21:28     ` Lennart Poettering
2008-04-25 21:32     ` Tobin Davis
2008-04-25 21:55       ` Mark Brown
2008-04-25 21:40     ` Mark Brown
  -- strict thread matches above, loose matches on Subject: below --
2008-04-25 19:29 Sean Thayne
2008-04-25 19:28 Sean Thayne

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=481246D1.1050101@summitmediagroupllc.com \
    --to=sthayne@summitmediagroupllc.com \
    --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