write callback stops getting called

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

 



I have a program which plays an audio file with some filtering using the
PulseAudio asynchronous API. When the CPU usage spikes elsewhere in my
computer, for example if I do `make -j` to use up all processing power, the
filter code runs a little slow and might cause a buffer underrun. Sometimes
this causes PulseAudio to stop calling the write callback. I checked and I
am certainly calling `begin_write` and `write` for each time that the write
callback is called.

How can I ensure that PulseAudio continues to call the write callback?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20150404/24d7de07/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