Hi,<br>       Thanks for the reply.<br><br>       As adviced by you,I have followed the procedure given in the link<br><br>                <a href="http://colin.guthr.ie/2010/09/compiling-and-running-pulseaudio-from-git/">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 everything was going well but i got error at this step<br><br>        $ src/pulseaudio -n -F src/<a href="http://default.pa">default.pa</a> -p $(pwd)/src/.libs/ -vvvv<br>
<br> You can check the attached log file to see the error.<br><br><br> Then I have again restarted the build process by giving the path to be /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>In the CLI terminal, i have changed the default source and sink to echo cancel as shown below:<br><br>&lt;&lt;set-default-source alsa_input.pci-0000_00_1b.0.analog-stereo.echo-cancel<br>&lt;&lt;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 &amp; noise has been reduced.<br>To confirm whether echo cancel is working or not , i tried to see 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 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>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 &quot;pulseaudio -v&quot; is not working.<br>and &quot;pulseaudio --kill&quot; also being executed, but pulseaudio daemon is still running.<br>
<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 and as well as to get the log messages of running pulseaudio daemon.<br>
<br>Thanks<br><br>Regards,<br>Abdul Moiz<br><br><br><br><br><br><br><div class="gmail_quote">On Fri, Jul 22, 2011 at 1:28 AM, Colin Guthrie <span dir="ltr">&lt;<a href="mailto:gmane@colin.guthr.ie">gmane@colin.guthr.ie</a>&gt;</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;">&#39;Twas brillig, and ABDUL MOIZ at 21/07/11 08:06 did gyre and gimble:<br>
<div class="im">&gt; Hi,<br>
&gt;<br>
&gt;       I have downloaded pulse audio source code from the link shown below<br>
&gt;<br>
&gt; <a href="http://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=0ecf51119a349e51daeea0437eba9a14d69ce533" target="_blank">http://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=0ecf51119a349e51daeea0437eba9a14d69ce533</a><br>

&gt;<br>
&gt; i have untar the file and have compiled and installed the pulseaudio by<br>
&gt; following the steps below:<br>
<br>
</div>I wouldn&#39;t generally recommend downloading tarballs from these links<br>
unless you know specifically what revision you want. After this commit<br>
has come in there have been various further fixes (almost 100 new commits!).<br>
<br>
So you should likely check out git master from git.<br>
<br>
I&#39;ve got a guide here:<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>
<div class="im"><br>
&gt; $:./bootstrap.sh<br>
&gt; $:./configure<br>
&gt; $:make<br>
&gt; $;sudo make install<br>
<br>
</div>This is quite dangerous. You are installing PA into /usr/local. This<br>
will almost certainly interfere with your distribution&#39;s PA version and<br>
generally cause you headaches unless you really know what you are<br>
doing!! In the link above I very specifically do not install PA but keep<br>
it in a separate tree and run it instead of my system one, but in a way<br>
that does not interfere.<br>
<br>
<br>
But all these warnings aside, you appear to have got it working....<br>
<div class="im"><br>
&gt; Pulseaudio has been installed and i have started the daemon using<br>
&gt;<br>
&gt; $:pulseaudio --start<br>
&gt;<br>
&gt; I have loaded the echo-cancel module as shown below<br>
&gt;<br>
&gt; $:pactl load-module module-echo-cancel<br>
&gt;<br>
&gt; I have run the CLI and found the echo cancel module loaded as shown below<br>
&gt;<br>
&gt; $:pacmd<br>
&gt; &lt;&lt; list-modules<br>
&gt;<br>
&gt;  index: 17<br>
&gt;     name: &lt;module-echo-cancel&gt;<br>
&gt;     argument: &lt;&gt;<br>
&gt;     used: 0<br>
&gt;     load once: no<br>
&gt;     properties:<br>
&gt;         module.author = &quot;Wim Taymans&quot;<br>
&gt;         module.description = &quot;Echo Cancelation&quot;<br>
&gt;         module.version = &quot;UNKNOWN&quot;<br>
&gt; &lt;&lt;<br>
&gt;<br>
&gt; I have connected mono mic to the pc<br>
&gt; Now I have run the gstreamer pipeline to test the working of echo cancel<br>
&gt; module<br>
&gt;<br>
&gt; $:gst-launch-0.10 pulsesrc ! pulsesink<br>
&gt;<br>
&gt; I am able to loopback my voice but still , echo is prevalant.<br>
&gt; Can you please tell me how to check whether echo canceller has been<br>
&gt; enabled or not and if it is not enabled then how to enable and run it.<br>
<br>
</div>I&#39;m not sure what&#39;s going on here or if this is a valid testing procedure.<br>
<br>
For example, are you definitely recording from the echo cancel source,<br>
or are you simply recording from the standard mic source.<br>
<br>
<br>
After launching this pipeline, I&#39;d expect you&#39;ll have to move the<br>
recording stream to the right source for it to have any affect.<br>
<br>
That said, I&#39;ve not done much playing with the echo cancel stuff, so<br>
perhaps Arun can advise better than me.<br>
<br>
Col<br>
<br>
<br>
<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>
</blockquote></div><br>