[alsa-devel] snd_pcm_avail_update returns 0

Jaroslav Kysela perex at perex.cz
Thu Jan 14 17:29:31 CET 2010


On Thu, 14 Jan 2010, Singaravelan Nallasellan wrote:

> Thanks again.
>
> Sorry, I missed to ask you another question.
>
> How does the ring buffer full detected in the core?

For playback: appl_ptr - hw_ptr == ring buffer size.

>> Maybe you can put your code to a public place so we can check it.
>>
> Sure, can I send the complete code to this ml?

No, please. Use http://pastebin.com or something like that and send only 
URL to this list. Thanks.

 					Jaroslav

-----
Jaroslav Kysela <perex at perex.cz>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.



More information about the Alsa-devel mailing list