[maemo-developers] Audio Routing API
From: Chitti Babu chitti_maemo at yahoo.comDate: Sun May 2 18:29:47 EEST 2010
- Previous message: Howto grab all Maemo5 zoom key events in SDL/SDL_gles app?
- Next message: Audio Routing API
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Saurabh, Were n't you using Telepathy for your VOIP application ? I think farsight (StreamedMedia plugin on gstreamer) handles all such intricacies. If your application is SIP based, you can just use telepathy-sofiasip as your backend. Regards, Chitti --- On Sun, 5/2/10, maemo-developers-request at maemo.org <maemo-developers-request at maemo.org> wrote: Message: 8 Date: Sun, 2 May 2010 08:43:04 +0530 From: saurabh aggarwal <aggarwal.saurabh at gmail.com> Subject: Re: Audio Routing API To: Martin Grimme <martin.grimme at gmail.com> Cc: maemo-developers at maemo.org Message-ID: <l2le3a9904f1005012013q167658ccre8a0d368ff6b352e at mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1" 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-0001.htm> *********************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.maemo.org/pipermail/maemo-developers/attachments/20100502/f96c778e/attachment.htm>
- Previous message: Howto grab all Maemo5 zoom key events in SDL/SDL_gles app?
- Next message: Audio Routing API
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]