> I can get the BT HSP info now, but am still missing the wired jack
> and USB headset info.

ALSA reports an input event whenever a wired jack is inserted. Things
are a bit different for a USB headset since a card is created and a
hot-plug/udev event generated. As Kalle was mentioning it, there's
some code in the ohm plugins to trap these jack input events and USB
hot plug events and instruct PulseAudio to change the routing if need
be.
It would be somewhat odd to add similar code in your app. Somehow the
dialer app would need to talk to the resource management to specify
the user choice and use the relevant audio routing. You should be able
to get the state in a similar manner.
-Pierre
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev

Reply via email to