[maemo-developers] Fwd: crackling sound while using pulseaudio via alsa for VoIP

From: Marco Ballesio gibrovacco at gmail.com
Date: Sat Feb 26 10:05:53 EET 2011
Sorry guys, forwarding to the mailing list..

---------- Forwarded message ----------
From: Marco Ballesio <gibrovacco at gmail.com>
Date: Sat, Feb 26, 2011 at 8:43 AM
Subject: Re: crackling sound while using pulseaudio via alsa for VoIP
To: sohail abbasi <sohail_aziz05 at yahoo.com>


Hi,

On Sat, Feb 26, 2011 at 8:09 AM, sohail abbasi <sohail_aziz05 at yahoo.com>wrote:

> thanks for your kind reply.Yes I cross compiled minisip for n900. it uses
> alsa only.


This meaning that, eventually, it's very likely using pulseaudio without
knowing it ;). Try and launch "alsamixer" from a terminal to understand how.

If you have some time to hack on the app, maybe you could modify it to use
the pulseaudio simple API:

http://0pointer.de/lennart/projects/pulseaudio/doxygen/

and the voice device. My suspect is that there may be something fishy with
the resampling, but..

It may still be because of the CPU load. What does "top" tell you during an
ongoing call?

Besides, my stupid question of the day (R): why can't you simply use the
telepathy-based SIP client already present on the device?

Regards


> No gstreamer or pulseaudio. I guess its reported bug of pulseaudio.
>
> --- On *Fri, 2/25/11, Marco Ballesio <gibrovacco at gmail.com>* wrote:
>
>
> From: Marco Ballesio <gibrovacco at gmail.com>
> Subject: Re: crackling sound while using pulseaudio via alsa for VoIP
> To: "sohail abbasi" <sohail_aziz05 at yahoo.com>
> Cc: maemo-developers at maemo.org
> Date: Friday, February 25, 2011, 12:22 AM
>
>
> Hi,
>
> I don't really know how minisip works (have you re-compiled it for the
> N900?) and whether it uses GStreamer or not, so any pointers would be
> appreciated.
>
> In the meanwhile, I can say telepathy-stream-engine is using pulseaudio's
> source.voice and sink.voice devices, so I suggest you to do the same.
> Moreover, it's possible the crackling noise is due to VAD/DTX: try and setup
> a call without those features.
>
> Regards
>
> On Tue, Feb 22, 2011 at 9:06 PM, sohail abbasi <sohail_aziz05 at yahoo.com<http://mc/compose?to=sohail_aziz05@yahoo.com>
> > wrote:
>
> Hi everyone ,
>
> I am stuck with a problem , I am using minisip on N900 (maemo5 PR1.3)and
> using alsa:default as my sound device. But getting cracklin sound (noise) on
> both ends. Can anybody let me know , is this pulseaudio error ? or of my
> application ?
>
>
> _______________________________________________
> maemo-developers mailing list
> maemo-developers at maemo.org<http://mc/compose?to=maemo-developers@maemo.org>
> https://lists.maemo.org/mailman/listinfo/maemo-developers
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.maemo.org/pipermail/maemo-developers/attachments/20110226/c5c19eec/attachment.htm>
More information about the maemo-developers mailing list