sound driver feature/bug ?

Petko Manolov (petkan@varel.bg)
Fri, 28 Aug 1998 16:23:44 +0000


Hi, Hannu

I made a few tests with the sound driver
(my card is SB16 ASP). Some of them were
crazy enough to produce strange results.

1. Writing 1 byte to /dev/dsp forced the driver
to play 4K bytes. Of cource the rest 4095
bytes were noise. I realised that smallest
piece of samples/bytes the driver can play is
4K.

2. Writing 4097 bytes made the driver play
two buffers. Again the rest 4095 bytes
from the second buffer were garbage.

I realise that is very hard to have all cases
in mind, but using SB under Linux for something
different than playback/record will produce
strange(incorrect) results.

regards,
Petkan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html