[pulseaudio-discuss] Routing of audio to loudspeakers or headphones

pl bossart bossart.nospam at gmail.com
Mon Nov 1 12:22:20 PDT 2010


>> For jack sensing, we'd need a module that traps input events. ALSA
>> sends an input event when the headphone jack is inserted. This is
>> what's used in Meego (the detection isn't part of PulseAudio though).
>> You could then add enable the effect.
>> -Pierre
>
> Could you tell me where (in which source code file) I can find this detection in
> Meego?

It's part of the Ohm plugins.
http://meego.gitorious.org/maemo-multimedia/ohm-plugins-misc/blobs/master/plugins/accessories/wired.c

I am not sure this code is current, someone from Nokia would need to
comment But you'll see all kinds of jack detection in there.
-Pierre



More information about the pulseaudio-discuss mailing list