<div dir="ltr"><div><div><div><div><div><div>Hi Tanu,<br>Thanks for the reply.. I was able to get over the problem..<br><br>I have added the new function to cork to pulseaudio.. Compiled pulseaudio.. Hence I currently have a local copy of pulseaudio..<br>
<br>The problem I am facing is pulseaudio terminates abruptly..<br><br>I run it from the local directory using the command<br><br>src/pulseaudio -n -F src/<a href="http://default.pa">default.pa</a> -p $(pwd)/src/.libs/ -vvvv<br>
<br>from the link <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 tried to adjust the idle time to -1.. But that too doesnt work out..<br>
<br>Current case..<br><br>1) I start pulseaudio using the above command..<br><br>2) Pulse audio waits infinitely for an audio input..<br><br>3) But if the audio input closes, pulse audio terminates within 20 secs..<br><br>
Can you guys help me on this ??<br><br>Thanks,<br><br>Sathish<pre><br><br></pre></div></div></div></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 20 December 2013 20:44, Tanu Kaskinen <span dir="ltr"><<a href="mailto:tanu.kaskinen@linux.intel.com" target="_blank">tanu.kaskinen@linux.intel.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Fri, 2013-12-20 at 20:24 +0530, sathishkumar sivagurunathan wrote:<br>
> Thanks Tanu,<br>
><br>
><br>
><br>
> I followed your instructions. I was able to solve this problem. I had made<br>
> the new function “GLOBAL”. I edited the “map-file” in src folder of<br>
> pulseaudio to include the newly created function.<br>
><br>
><br>
><br>
> I was also able to successfully compile my test program too..<br>
><br>
><br>
><br>
> But when I run the binary, I am getting relocation error..<br>
><br>
><br>
><br>
> ./pa_listclients_pause: relocation error: ./pa_listclients_pause: symbol<br>
> pa_context_set_sink_input_paused, version PULSE_0 not defined in file<br>
> libpulse.so.0 with link time reference<br>
><br>
><br>
><br>
> I am not able to understand this error..<br>
<br>
</div>I had a similar problem just a couple of days ago. In my case the<br>
problem was that the linker didn't search libraries from /usr/local/lib<br>
where the new version of libpulse was installed, so the linker chose an<br>
old version instead which didn't have the function that I had added. I<br>
added /usr/local/lib to the beginning of /etc/ld.so.conf and ran "sudo<br>
ldconfig", and things started to work.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Tanu<br>
<br>
</font></span></blockquote></div><br></div>