lkml.org 
[lkml]   [1998]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectsound driver feature/bug ?
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

\
 
 \ /
  Last update: 2005-03-22 13:44    [from the cache]
©2003-2011 Jasper Spaans