Mercurial > sdl-ios-xcode
diff docs/html/sdlconvertaudio.html @ 803:355632dca928
Updated SDL HTML documentation
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 10 Feb 2004 15:15:40 +0000 |
parents | e5bc29de3f0a |
children |
line wrap: on
line diff
--- a/docs/html/sdlconvertaudio.html Sun Feb 08 22:21:30 2004 +0000 +++ b/docs/html/sdlconvertaudio.html Tue Feb 10 15:15:40 2004 +0000 @@ -4,7 +4,7 @@ >SDL_ConvertAudio</TITLE ><META NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.64 +CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+ "><LINK REL="HOME" TITLE="SDL Library Documentation" @@ -28,6 +28,7 @@ ><DIV CLASS="NAVHEADER" ><TABLE +SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" @@ -45,6 +46,7 @@ VALIGN="bottom" ><A HREF="sdlbuildaudiocvt.html" +ACCESSKEY="P" >Prev</A ></TD ><TD @@ -58,6 +60,7 @@ VALIGN="bottom" ><A HREF="sdlmixaudio.html" +ACCESSKEY="N" >Next</A ></TD ></TR @@ -68,12 +71,12 @@ ><H1 ><A NAME="SDLCONVERTAUDIO" ->SDL_ConvertAudio</A -></H1 +></A +>SDL_ConvertAudio</H1 ><DIV CLASS="REFNAMEDIV" ><A -NAME="AEN6660" +NAME="AEN7048" ></A ><H2 >Name</H2 @@ -81,14 +84,14 @@ ><DIV CLASS="REFSYNOPSISDIV" ><A -NAME="AEN6663" +NAME="AEN7051" ></A ><H2 >Synopsis</H2 ><DIV CLASS="FUNCSYNOPSIS" ><A -NAME="AEN6664" +NAME="AEN7052" ></A ><P ></P @@ -112,7 +115,7 @@ ><DIV CLASS="REFSECT1" ><A -NAME="AEN6670" +NAME="AEN7058" ></A ><H2 >Description</H2 @@ -240,7 +243,7 @@ ><DIV CLASS="REFSECT1" ><A -NAME="AEN6705" +NAME="AEN7093" ></A ><H2 >Examples</H2 @@ -257,8 +260,8 @@ int ret; /* Allocated audio specs */ -desired=(SDL_AudioSpec *)malloc(sizeof(SDL_AudioSpec)); -obtained=(SDL_AudioSpec *)malloc(sizeof(SDL_AudioSpec)); +desired = malloc(sizeof(SDL_AudioSpec)); +obtained = malloc(sizeof(SDL_AudioSpec)); /* Set desired format */ desired->freq=22050; @@ -297,8 +300,8 @@ } /* Setup for conversion */ -wav_cvt.buf=(Uint8 *)malloc(wav_len*wav_cvt.len_mult); -wav_cvt.len=wav_len; +wav_cvt.buf = malloc(wav_len * wav_cvt.len_mult); +wav_cvt.len = wav_len; memcpy(wav_cvt.buf, wav_buf, wav_len); /* We can delete to original WAV data now */ @@ -317,7 +320,7 @@ ><DIV CLASS="REFSECT1" ><A -NAME="AEN6708" +NAME="AEN7096" ></A ><H2 >See Also</H2 @@ -342,6 +345,7 @@ ><HR ALIGN="LEFT" WIDTH="100%"><TABLE +SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" @@ -353,6 +357,7 @@ VALIGN="top" ><A HREF="sdlbuildaudiocvt.html" +ACCESSKEY="P" >Prev</A ></TD ><TD @@ -361,6 +366,7 @@ VALIGN="top" ><A HREF="index.html" +ACCESSKEY="H" >Home</A ></TD ><TD @@ -369,6 +375,7 @@ VALIGN="top" ><A HREF="sdlmixaudio.html" +ACCESSKEY="N" >Next</A ></TD ></TR @@ -384,6 +391,7 @@ VALIGN="top" ><A HREF="audio.html" +ACCESSKEY="U" >Up</A ></TD ><TD