DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Fri, 17 Aug 2007 16:18:56 -0700,    posted on: microsoft.public.dotnet.framework.compactframework        back       

Thread Index
  1    dbradshaw
          2    Paul G. Tobey [eMVP] p space tobey no spam AT no instrument no spam DOT com


Detecting headphones on device   
Hello,

I am wondering if anyone is familiar with a way to detect when the
user of the device has plugged their earbuds into the headphone jack.
Currently on the device with the sound near full volume the audio
from the speakers is just about right, however when plugging in the
earbuds the audio is incredibly loud.  A programmatic way of
accomplishing this would be ideal so we can adjust the volume when
headphones are detected.  I would also be open to alternative
solutions if anyone can think of any.

Daniel Bradshaw
Date:Fri, 17 Aug 2007 16:18:56 -0700   Author:  

Re: Detecting headphones on device   
That would be a device-by-device thing, but I'd suspect that it's generally 
not there.  On a regular headphone jack, at any rate, it just mechanically 
redirects the connection from the speaker input to the headphone input when 
you plug it in.  No software intervention or notification possible.

I think that the best you can do is turn down the control on the earbuds 
themselves, if they have one (my Pocket PC phone earbuds have their own 
volume control in-line).

Paul T.

"dbradshaw"  wrote in message 
news:1187392736.970259.11340@m37g2000prh.googlegroups.com...

> Hello,
>
> I am wondering if anyone is familiar with a way to detect when the
> user of the device has plugged their earbuds into the headphone jack.
> Currently on the device with the sound near full volume the audio
> from the speakers is just about right, however when plugging in the
> earbuds the audio is incredibly loud.  A programmatic way of
> accomplishing this would be ideal so we can adjust the volume when
> headphones are detected.  I would also be open to alternative
> solutions if anyone can think of any.
>
> Daniel Bradshaw
> 
Date:Fri, 17 Aug 2007 16:30:12 -0700   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us