Re: Problem with sound since 1.3.63

Tony Nugent (tonyn@sctnugen.ppp.gu.edu.au)
Sun, 18 Feb 1996 12:35:09 +1000


Michael N. Lipp <mnl@dtro.e-technik.th-darmstadt.de> wrote on Sat, 17 Feb 1996:

> -> starting with 1.3.63 (and still in 1.3.64) the sound driver doesn't
> -> work anymore. trying to start vplay I get: "Invalid audio buffers size
> -> 1024". This results from vplay's call
> ->
> -> IOCTL(audio, SNDCTL_DSP_GETBLKSIZE, abuf_size);
> -> if (abuf_size < 4096 || abuf_size > 65536) {
>
> change this ----------^^^^ to 1024 and recompile.

I'm wondering why these numbers are being placed into the code rather
than using #define's. Is there any reason why this approach isn't
taken? Namespace congestion?

Cheers
Tony
-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-
T.Nugent@sct.gu.edu.au tonyn@sctnugen.ppp.gu.edu.au
Brisbane Queensland Australia
-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-
TOP TEN REASONS AMERICA IS THE GREATEST COUNTRY ON EARTH

10. Liberal laws allow you to make millions by spilling McDonald's
coffee in your lap