Hi,<br><br> Thanks for the reply.<br><br> Now I am able to run the pulseaudio daemon with echo cancel source and sinks without any problem on my ubuntu desktop system.<br>Now I want to enable echo cancel module on my omap4 (PANDA) board.<br>
I followed the same steps as i have done for ubuntu desktop.<br>Pulseaudio daemon is working fine but when i tried to load the Echo cancel module, the daemon is getting killed.<br>I think the problem is with the sample rate.I have tried with both 48000 and 44100hz rates but the same problem occurs.<br>
Please find the attached log when i load the echo cancel module.<br><br>Thanks<br><br>Regards,<br>Abdul Moiz.<br><br><div class="gmail_quote">On Sun, Jul 24, 2011 at 7:13 PM, Colin Guthrie <span dir="ltr"><<a href="mailto:gmane@colin.guthr.ie">gmane@colin.guthr.ie</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;">'Twas brillig, and ABDUL MOIZ at 22/07/11 10:02 did gyre and gimble:<br>
> Hi,<br>
<div class="im">> Thanks for the reply.<br>
><br>
> As adviced by you,I have followed the procedure given in the link<br>
><br>
><br>
> <a href="http://colin.guthr.ie/2010/09/compiling-and-running-pulseaudio-from-git/" target="_blank">http://colin.guthr.ie/2010/09/compiling-and-running-pulseaudio-from-git/</a><br>
><br>
> I got the code from the git source as told in the guide and<br>
> everything was going well but i got error at this step<br>
><br>
</div>> $ src/pulseaudio -n -F src/<a href="http://default.pa" target="_blank">default.pa</a> <<a href="http://default.pa" target="_blank">http://default.pa</a>> -p<br>
<div class="im">> $(pwd)/src/.libs/ -vvvv<br>
><br>
> You can check the attached log file to see the error.<br>
<br>
</div>Interesting. Perhaps this indicates some kind of corruption in the<br>
database files used for restoring volume and devices... can you save the<br>
files in ~/.pulse/ somewhere (we may want to analyse them later to<br>
prevent this happening again) and then just trash that whole folder so<br>
you can start up "clean"?<br>
<div class="im"><br>
> Then I have again restarted the build process by giving the path to be<br>
> /usr while configuring i.e<br>
><br>
> $ ./configure --prefix=/usr<br>
><br>
> And the build was successful, and I can able to run the pulseaudio daemon.<br>
<br>
</div>Strange... this shouldn't matter much.<br>
<div class="im"><br>
> In the CLI terminal, i have changed the default source and sink to echo<br>
> cancel as shown below:<br>
><br>
> <<set-default-source alsa_input.pci-0000_00_1b.0.analog-stereo.echo-cancel<br>
> <<set-default-sink alsa_output.pci-0000_00_1b.0.analog-stereo.echo-cancel<br>
><br>
> Now when i test using gst pipeline, i can observe that echo & noise has<br>
> been reduced.<br>
> To confirm whether echo cancel is working or not , i tried to see<br>
> verbose log as shown below:<br>
><br>
> $ pulseaudio -v<br>
><br>
> But I am getting the following:<br>
><br>
> I: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted<br>
> I: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted<br>
> I: core-util.c: Successfully gained nice level -11.<br>
> I: main.c: This is PulseAudio 0.98-dev-438-g6add-dirty<br>
> I: main.c: Page size is 4096 bytes<br>
> I: main.c: Machine ID is fstl-laptop.<br>
> I: main.c: Session ID is<br>
> 2012bf02773ecb9a7c891fbb4e25bc80-1311316492.289922-1263349109.<br>
> I: main.c: Using runtime directory /home/fstl/.pulse/fstl-laptop-runtime.<br>
> I: main.c: Using state directory /home/fstl/.pulse.<br>
> I: main.c: Using modules directory /usr/lib/pulse-0.98/modules.<br>
> I: main.c: Running in system mode: no<br>
> E: pid.c: Daemon already running.<br>
> E: main.c: pa_pid_file_create() failed.<br>
<br>
<br>
</div>This is expected. You can only run one instance of PA at a time.<br>
<div class="im"><br>
> when i kill the pulseaudio daemon, then also the samething coming.<br>
> And also I have tried the below commands:<br>
><br>
> $ pulseaudio --kill<br>
> $ killall pulseaudio<br>
> $ killall -9 pulseaudio<br>
> $ rm -rf ~/.pulse*<br>
> $ sudo rm -rf /tmp/pulse*<br>
><br>
> But still "pulseaudio -v" is not working.<br>
> and "pulseaudio --kill" also being executed, but pulseaudio daemon is<br>
> still running.<br>
<br>
</div>This is fully expected. PA supports an autospawn feature and it's highly<br>
likely that something running on your desktop is requesting PA to be<br>
run. e.g. gnome-volume-control-applet, or pretty much any gtk application.<br>
<div class="im"><br>
> So the problem is pulseaudio instance is not getting killed properly.<br>
> Can you please help me to get clean start and kill of pulseaudio daemon<br>
> and as well as to get the log messages of running pulseaudio daemon.<br>
<br>
</div>When developing on PA, I very much recommend setting autospawn=no in<br>
/etc/pulse/client.conf or ~/.pulse/client.conf to ensure that the system<br>
version of PA does not automatically respawn itself.<br>
<br>
I think you're generally getting a bit muddled up between your system's<br>
PA install and the one you are running yourself. It's a little tricky to<br>
make things behave themselves, but the guide I linked to previously<br>
mentions this, so it's probably worthwhile reading the whole article<br>
again to make sure nothing has been missed.<br>
<br>
Hope that helps.<br>
<div><div></div><div class="h5"><br>
Col<br>
<br>
<br>
--<br>
<br>
Colin Guthrie<br>
gmane(at)<a href="http://colin.guthr.ie" target="_blank">colin.guthr.ie</a><br>
<a href="http://colin.guthr.ie/" target="_blank">http://colin.guthr.ie/</a><br>
<br>
Day Job:<br>
Tribalogic Limited [<a href="http://www.tribalogic.net/" target="_blank">http://www.tribalogic.net/</a>]<br>
Open Source:<br>
Mageia Contributor [<a href="http://www.mageia.org/" target="_blank">http://www.mageia.org/</a>]<br>
PulseAudio Hacker [<a href="http://www.pulseaudio.org/" target="_blank">http://www.pulseaudio.org/</a>]<br>
Trac Hacker [<a href="http://trac.edgewall.org/" target="_blank">http://trac.edgewall.org/</a>]<br>
<br>
_______________________________________________<br>
pulseaudio-discuss mailing list<br>
<a href="mailto:pulseaudio-discuss@lists.freedesktop.org">pulseaudio-discuss@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss" target="_blank">http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss</a><br>
</div></div></blockquote></div><br>