Pause a audio stream

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Tanu,
Thanks for the reply.. I was able to get over the problem..

I have added the new function to cork to pulseaudio.. Compiled pulseaudio..
Hence I currently have a local copy of pulseaudio..

The problem I am facing is pulseaudio terminates abruptly..

I run it from the local directory using the command

src/pulseaudio -n -F src/default.pa -p $(pwd)/src/.libs/ -vvvv

from the link
http://colin.guthr.ie/2010/09/compiling-and-running-pulseaudio-from-git/..

I tried to adjust the idle time to -1.. But that too doesnt work out..

Current case..

1) I start pulseaudio using the above command..

2) Pulse audio waits infinitely for an audio input..

3) But if the audio input closes, pulse audio terminates within 20 secs..

Can you guys help me on this ??

Thanks,

Sathish





On 20 December 2013 20:44, Tanu Kaskinen <tanu.kaskinen at linux.intel.com>wrote:

> On Fri, 2013-12-20 at 20:24 +0530, sathishkumar sivagurunathan wrote:
> > Thanks Tanu,
> >
> >
> >
> > I followed your instructions. I was able to solve this problem. I had
> made
> > the new function ?GLOBAL?. I edited the ?map-file? in src folder of
> > pulseaudio to include the newly created function.
> >
> >
> >
> > I was also able to successfully compile my test program too..
> >
> >
> >
> > But when I run the binary, I am getting relocation error..
> >
> >
> >
> > ./pa_listclients_pause: relocation error: ./pa_listclients_pause: symbol
> > pa_context_set_sink_input_paused, version PULSE_0 not defined in file
> > libpulse.so.0 with link time reference
> >
> >
> >
> > I am not able to understand this error..
>
> I had a similar problem just a couple of days ago. In my case the
> problem was that the linker didn't search libraries from /usr/local/lib
> where the new version of libpulse was installed, so the linker chose an
> old version instead which didn't have the function that I had added. I
> added /usr/local/lib to the beginning of /etc/ld.so.conf and ran "sudo
> ldconfig", and things started to work.
>
> --
> Tanu
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20131230/c96e75a7/attachment.html>


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux