Erik epilz at mindspring.com
Mon Apr 10 16:50:40 PDT 2000

[ reformatted to fit ]

>It seems that FreeBSD's native sound driver have a very long internal
>buffer (about 64KB or 3 seconds on 22KHz 8 bit sound), and all calls
>to select() after sending data with write() erroneously returns
>immediately until this large buffer will be filled.

SDL sets the number and size of fragments in DSP_ReopenAudio(), but perhaps
the BSD audio drivers refuse to behave.
(You are using OSS drivers, aren't you?)

Have you tried SDL_DSP_NOSELECT? It should use timer-based audio delay instead
of selecting on the descriptor.

More information about the SDL mailing list