Re: Sound buffer problem in 2.0.3[23]

Hannu Savolainen (hannu@opensound.com)
Thu, 19 Feb 1998 23:29:20 +0200 (EET)


On Thu, 19 Feb 1998, Peter-Paul Witta wrote:

> hi!
>
> whenever i try recording using an application (record, xwav) i get
> "invalid auido buffer size"...
This is a bug in the application. Some applications assume that the
fragment size reported by ioctl(SNDCTL_DSP_GETBLKSIZE) is larger than 4k.
This is no longer true with current sound driver versions.

This check was originally required to detect a bug in the very first sound
driver version and was accidently left in some sample programs. It's no
longer required and should be removed.

Best regards,

Hannu
-----
Hannu Savolainen (hannu@opensound.com)
http://www.fi.opensound.com/~hannu (personal)
http://www.opensound.com/oss.html (Open Sound System (OSS))
http://www.opensound.com/ossfree (OSS Free/TASD/VoxWare)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu