comparison docs.html @ 4003:ea059917233c SDL-1.2

Added notes about audio callback behaviour.
author Ryan C. Gordon <icculus@icculus.org>
date Thu, 05 Jul 2007 02:53:40 +0000
parents 720c59bd38ac
children 1146681dbb74
comparison
equal deleted inserted replaced
4002:e905bb5d9bc3 4003:ea059917233c
49 <P> 49 <P>
50 Unofficial support for the S60/SymbianOS platform has been added. 50 Unofficial support for the S60/SymbianOS platform has been added.
51 </P> 51 </P>
52 <P> 52 <P>
53 Unofficial support for the Nintendo DS platform has been added. 53 Unofficial support for the Nintendo DS platform has been added.
54 </P>
55 <P>
56 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.
57 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.
54 </P> 58 </P>
55 </BLOCKQUOTE> 59 </BLOCKQUOTE>
56 60
57 <H3> Unix Notes </H3> 61 <H3> Unix Notes </H3>
58 62