Hi, On Mon, Nov 1, 2010 at 9:22 PM, pl bossart <bossart.nospam at gmail.com> wrote: > >> 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. > It's almost the current one (a few patches are still under test). Check here for (a few) more details: http://conference2010.meego.com/session/policy-framework-flexible-way-orchestrate-multiple-functionalities-meego-devices There you can find most of the plugins used in MeeGo (still rules are missing though). Hopefully we'll have a structured wiki page for the project sooner or later. Regards > -Pierre > _______________________________________________ > pulseaudio-discuss mailing list > pulseaudio-discuss at mail.0pointer.de > https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20101103/4a1e97f2/attachment.htm>