Added notes about audio callback behaviour.

--HG--
branch : SDL-1.2
This commit is contained in:
Ryan C. Gordon 2007-07-05 02:53:40 +00:00
parent 9594abc1d8
commit f6bfedad78

View File

@ -52,6 +52,10 @@ SDL 1.2.12 is a minor bug fix release.
<P>
Unofficial support for the Nintendo DS platform has been added.
</P>
<P>
Audio callbacks must now initialize the entire stream: applications must write silence to the stream if they can't supply data, and not mix against the buffer, as it may be random data.
Users may set SDL_AUDIO_MUST_INIT_BUFFERS to retain the old behaviour, but apps should not depend on this environment variable: just add a memset() at the start of your audio callback instead if you need it.
</P>
</BLOCKQUOTE>
<H3> Unix Notes </H3>