[alsa-devel] snd_pcm_avail_update returns bogus values with the OSS PCM plugin

Takashi Iwai tiwai at suse.de
Fri Jul 17 12:04:41 CEST 2009

At Fri, 10 Jul 2009 10:29:55 +0200,
Sindre Aamås wrote:
> Hi.
> For the attached test case snd_pcm_avail_update returns values higher  
> than the buffer size when run with the OSS PCM plugin. Output of  
> alsa-info.sh is at
> http://www.alsa-project.org/db/?f=77a873e55d5d6ca50d67a035a9d6b7e10cca179d .

This is obviously a bug in OSS plugin (who thought of using this
plugin seriously? :)

The oneliner below should fix the problem.




More information about the Alsa-devel mailing list