I am starting to use the N800 in my car, and I think this would be a
great feature. When I get off my car the last thing I want to do is
switch to the music playing application and then hit pause. perhaps
the opposite (plug headphones in, continue playing) option can also be
implemented.


--dmg



 Kemal> You could read/monitor 
"/sys/devices/platform/gpio-switch/headphone/state"
 Kemal> That's a good idea in fact, we'll try to integrate this functionality
 Kemal> in Kagu media player in the next release.

 Kemal> On 10/17/07, Daniel M German <[EMAIL PROTECTED]> wrote:
 >> 
 >> 
 >> Hi everybody,
 >> 
 >> is there a way to detect if the headphones are plugged?
 >> 
 >> I am irritated that music playing software does not pause when the
 >> headphones are removed (like the ipod) and would like to write a patch
 >> to make it an option.
 >> 
 >> thanks a lot!
 >> 
 >> --daniel


 Kemal> -- 
 Kemal> Kemal


-- 
--
Daniel M. German                  
http://turingmachine.org/
http://silvernegative.com/
dmg (at) uvic (dot) ca
replace (at) with @ and (dot) with .
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to