[maemo-users] fm radio

From: Andrew Flegg andrew at bleb.org
Date: Thu Jan 10 11:32:05 EET 2008
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.

Cheers,

Andrew

-- 
Andrew Flegg -- mailto:andrew at bleb.org  |  http://www.bleb.org/

More information about the maemo-users mailing list