Hi,<br><br><div class="gmail_quote">On Mon, Nov 1, 2010 at 9:22 PM, pl bossart <span dir="ltr"><<a href="mailto:bossart.nospam@gmail.com">bossart.nospam@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">>> For jack sensing, we'd need a module that traps input events. ALSA<br>
>> sends an input event when the headphone jack is inserted. This is<br>
>> what's used in Meego (the detection isn't part of PulseAudio though).<br>
>> You could then add enable the effect.<br>
>> -Pierre<br>
><br>
> Could you tell me where (in which source code file) I can find this detection in<br>
> Meego?<br>
<br>
</div>It's part of the Ohm plugins.<br>
<a href="http://meego.gitorious.org/maemo-multimedia/ohm-plugins-misc/blobs/master/plugins/accessories/wired.c" target="_blank">http://meego.gitorious.org/maemo-multimedia/ohm-plugins-misc/blobs/master/plugins/accessories/wired.c</a><br>
<br>
I am not sure this code is current, someone from Nokia would need to<br>
comment But you'll see all kinds of jack detection in there.<br></blockquote><div><br>It's almost the current one (a few patches are still under test). Check here for (a few) more details:<br><br><a href="http://conference2010.meego.com/session/policy-framework-flexible-way-orchestrate-multiple-functionalities-meego-devices">http://conference2010.meego.com/session/policy-framework-flexible-way-orchestrate-multiple-functionalities-meego-devices</a><br>
<br>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.<br><br>Regards<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
-Pierre<br>
<div><div></div><div class="h5">_______________________________________________<br>
pulseaudio-discuss mailing list<br>
<a href="mailto:pulseaudio-discuss@mail.0pointer.de">pulseaudio-discuss@mail.0pointer.de</a><br>
<a href="https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss" target="_blank">https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss</a><br>
</div></div></blockquote></div><br>