troubleshooting asynchronous API for recording audio

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

 



I'm using the asynchronous API to record audio from a source. I'm able to
obtain about 1-5 seconds of audio and then every time I call
pa_stream_peek, I get nbytes = 0. Any troubleshooting suggestions?

I have verified that the stream is not corked, not suspended, and I am in
fact calling pa_stream_drop every time that nbytes > 0. I also noticed that
when nbytes starts being 0 always, this other stream I have open, which is
a playback stream, also stops having room for playback buffers.

This is pulseaudio version 1:4.0-0ubuntu22.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20150313/450e0476/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