[alsa-devel] Warning/error from ALSA’s pcm_min.c example. Possible problem?

Jaroslav Kysela perex at perex.cz
Sun Jan 31 09:46:11 CET 2010


On Sat, 30 Jan 2010, Louise Hoffman wrote:

> Dear ALSA developers,
>
> When I compile ALSA's pcm_min.c[0] example with
>
> gcc -Wall -lasound pcm_min.c -o pcm_min
>
> Everything is fine, but running it, I get the white noise as expected,
> but I also get this warning/error:
>
> Short write (expected 16384, wrote 7616)

It was a bug in alsa-lib. I fixed it in patch bellow. Thank you for your 
report.

http://git.alsa-project.org/?p=alsa-lib.git;a=commitdiff;h=2e48439ad93f6c8d99a2d72928ac71285b5211bb

 					Jaroslav

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



More information about the Alsa-devel mailing list