[maemo-users] fm radio

From: James Knott james.knott at rogers.com
Date: Thu Jan 10 18:04:08 EET 2008
Andrew Flegg wrote:
> On Jan 10, 2008 9:28 AM, Klaus Rotter <klaus at rotters.de> wrote:
>> Kalle Valo wrote:
>>  >
>>> No, you're not stupid. The application instead is stupid if it does
>>> not warn about missing headset.
>> Interesting. Is there an API that an application can detect if a headset
>> is connected or not?
> There must be some software mechanism because the switch to headphone
> output for audio is controlled in software, rather than hardware.
> This can be seen by the fact that the FM radio application allows
> audio to be output through the speakers when a pair of headphones is
> acting as aerial.

Not necessarily.  That's simply telling the audio to take a different 
route than through the headphone jack.  The headphone jack is probably 
"closed circuit" that will connect to the headphone, if present, or pass 
it on to the speakers.  It is possible to build extra contacts etc., 
into the jack to signal something is plugged in, but that's not common 
in those mini jacks.

Use OpenOffice.org <http://www.openoffice.org>

More information about the maemo-users mailing list