[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 



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

More information about the Alsa-devel mailing list