[maemo-users] fm radio
From: Kalle Valo kalle.valo at nokia.comDate: Thu Jan 10 11:56:35 EET 2008
- Previous message: fm radio
- Next message: fm radio
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"ext Andrew Flegg" <andrew at bleb.org> writes: >> 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. Just what I was thinking. My first guess would be that there's a GPIO for this. Anyone interested should check the kernel sources. And with luck there's already a sysfs interface. Disclaimer: I know nothing about this, this is purely guessing. And right now I don't have time to check this. -- Kalle Valo
- Previous message: fm radio
- Next message: fm radio
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]