[maemo-developers] Audio Routing API
From: saurabh aggarwal aggarwal.saurabh at gmail.comDate: Sun May 2 06:13:04 EEST 2010
- Previous message: Audio Routing API
- Next message: Cannot install Maemo SDK 1.2 in Ubuntu Lucid: dependencies problems
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Thanks Martin, I have a feeling that I should be able to set those flags in alsa using the gstreamer APIs and pulsesink. The pulsesink object does accept a propllist, and using pactl if you look at the pulsesink, there seem to be properties that should be able to switch between headset and speaker. Like x-maemo.mode which seems to be IHF or HP depending on whether pulsesink is in headset or speaker mode. I have been trying to use these flags, but haven't been able to do so till now. If someone can help here, that would be great. -Saurabh On Sat, May 1, 2010 at 3:46 AM, Martin Grimme <martin.grimme at gmail.com>wrote: > Hi, > > alsamixer -c0 > reveals a switch to route audio to the earpiece (I don't remember it's > exact name). I don't think you can route sound to the earpiece any > other way. Somebody please correct me if I'm wrong. > > > Martin > > > 2010/4/28, saurabh aggarwal <aggarwal.saurabh at gmail.com>: > > We are developing a VoIP application, and have it running for Maemo5 > (using > > gstreamer/pulseaudio). > > > > The problem now is that the output being used is the speaker, and not the > > headphone/earpiece. > > > > I have tried a couple of things (which haven't worked) like - > > gst-launch pulsesrc device=source.voice ! pulsesink device=sink.voice > > (outputs voice from speaker) > > > > gst-launch pulsesrc ! pulsesink device=sink.hw0 x-maemo.mode="hp" (I get > an > > error no element "hp"). Have tried the same with "ihf". > > > > If someone can point me to the right direction, that would be really > > appreciated. > > > > -Saurabh > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.maemo.org/pipermail/maemo-developers/attachments/20100502/31d0d54f/attachment.htm>
- Previous message: Audio Routing API
- Next message: Cannot install Maemo SDK 1.2 in Ubuntu Lucid: dependencies problems
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]