Added notes about audio callback behaviour. SDL-1.2
authorRyan C. Gordon <icculus@icculus.org>
Thu, 05 Jul 2007 02:53:40 +0000
branchSDL-1.2
changeset 4003ea059917233c
parent 4002 e905bb5d9bc3
child 4004 ce8046809062
Added notes about audio callback behaviour.
docs.html
     1.1 --- a/docs.html	Thu Jul 05 02:44:54 2007 +0000
     1.2 +++ b/docs.html	Thu Jul 05 02:53:40 2007 +0000
     1.3 @@ -52,6 +52,10 @@
     1.4  <P>
     1.5  	Unofficial support for the Nintendo DS platform has been added.
     1.6  </P>
     1.7 +<P>
     1.8 +	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.
     1.9 +	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.
    1.10 +</P>
    1.11  </BLOCKQUOTE>
    1.12  
    1.13  <H3> Unix Notes </H3>