Mercurial > sdl-ios-xcode
annotate docs/html/sdlfreewav.html @ 136:717f739d6ec1
Added hardware stretching code to scale 640x480 to TV resolution
There's a bug of some kind in the 16bpp code. ??
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 01 Aug 2001 08:41:45 +0000 |
parents | 55f1f1b3e27d |
children | e5bc29de3f0a |
rev | line source |
---|---|
0 | 1 <HTML |
2 ><HEAD | |
3 ><TITLE | |
4 >SDL_FreeWAV</TITLE | |
5 ><META | |
6 NAME="GENERATOR" | |
55
55f1f1b3e27d
Added new docs for SDL 1.2.1
Sam Lantinga <slouken@lokigames.com>
parents:
0
diff
changeset
|
7 CONTENT="Modular DocBook HTML Stylesheet Version 1.64 |
0 | 8 "><LINK |
9 REL="HOME" | |
10 TITLE="SDL Library Documentation" | |
11 HREF="index.html"><LINK | |
12 REL="UP" | |
13 TITLE="Audio" | |
14 HREF="audio.html"><LINK | |
15 REL="PREVIOUS" | |
16 TITLE="SDL_LoadWAV" | |
17 HREF="sdlloadwav.html"><LINK | |
18 REL="NEXT" | |
19 TITLE="SDL_AudioCVT" | |
20 HREF="sdlaudiocvt.html"></HEAD | |
21 ><BODY | |
22 CLASS="REFENTRY" | |
23 BGCOLOR="#FFF8DC" | |
24 TEXT="#000000" | |
25 LINK="#0000ee" | |
26 VLINK="#551a8b" | |
27 ALINK="#ff0000" | |
28 ><DIV | |
29 CLASS="NAVHEADER" | |
30 ><TABLE | |
31 WIDTH="100%" | |
32 BORDER="0" | |
33 CELLPADDING="0" | |
34 CELLSPACING="0" | |
35 ><TR | |
36 ><TH | |
37 COLSPAN="3" | |
38 ALIGN="center" | |
39 >SDL Library Documentation</TH | |
40 ></TR | |
41 ><TR | |
42 ><TD | |
43 WIDTH="10%" | |
44 ALIGN="left" | |
45 VALIGN="bottom" | |
46 ><A | |
47 HREF="sdlloadwav.html" | |
48 >Prev</A | |
49 ></TD | |
50 ><TD | |
51 WIDTH="80%" | |
52 ALIGN="center" | |
53 VALIGN="bottom" | |
54 ></TD | |
55 ><TD | |
56 WIDTH="10%" | |
57 ALIGN="right" | |
58 VALIGN="bottom" | |
59 ><A | |
60 HREF="sdlaudiocvt.html" | |
61 >Next</A | |
62 ></TD | |
63 ></TR | |
64 ></TABLE | |
65 ><HR | |
66 ALIGN="LEFT" | |
67 WIDTH="100%"></DIV | |
68 ><H1 | |
69 ><A | |
70 NAME="SDLFREEWAV" | |
71 >SDL_FreeWAV</A | |
72 ></H1 | |
73 ><DIV | |
74 CLASS="REFNAMEDIV" | |
75 ><A | |
55
55f1f1b3e27d
Added new docs for SDL 1.2.1
Sam Lantinga <slouken@lokigames.com>
parents:
0
diff
changeset
|
76 NAME="AEN6310" |
0 | 77 ></A |
78 ><H2 | |
79 >Name</H2 | |
80 >SDL_FreeWAV -- Frees previously opened WAV data</DIV | |
81 ><DIV | |
82 CLASS="REFSYNOPSISDIV" | |
83 ><A | |
55
55f1f1b3e27d
Added new docs for SDL 1.2.1
Sam Lantinga <slouken@lokigames.com>
parents:
0
diff
changeset
|
84 NAME="AEN6313" |
0 | 85 ></A |
86 ><H2 | |
87 >Synopsis</H2 | |
88 ><DIV | |
89 CLASS="FUNCSYNOPSIS" | |
90 ><A | |
55
55f1f1b3e27d
Added new docs for SDL 1.2.1
Sam Lantinga <slouken@lokigames.com>
parents:
0
diff
changeset
|
91 NAME="AEN6314" |
0 | 92 ></A |
93 ><P | |
94 ></P | |
95 ><PRE | |
96 CLASS="FUNCSYNOPSISINFO" | |
97 >#include "SDL.h"</PRE | |
98 ><P | |
99 ><CODE | |
100 ><CODE | |
101 CLASS="FUNCDEF" | |
102 >void <B | |
103 CLASS="FSFUNC" | |
104 >SDL_FreeWAV</B | |
105 ></CODE | |
106 >(Uint8 *audio_buf);</CODE | |
107 ></P | |
108 ><P | |
109 ></P | |
110 ></DIV | |
111 ></DIV | |
112 ><DIV | |
113 CLASS="REFSECT1" | |
114 ><A | |
55
55f1f1b3e27d
Added new docs for SDL 1.2.1
Sam Lantinga <slouken@lokigames.com>
parents:
0
diff
changeset
|
115 NAME="AEN6320" |
0 | 116 ></A |
117 ><H2 | |
118 >Description</H2 | |
119 ><P | |
120 >After a WAVE file has been opened with <A | |
121 HREF="sdlloadwav.html" | |
122 ><TT | |
123 CLASS="FUNCTION" | |
124 >SDL_LoadWAV</TT | |
125 ></A | |
126 > its data can eventually be freed with <TT | |
127 CLASS="FUNCTION" | |
128 >SDL_FreeWAV</TT | |
129 >. <TT | |
130 CLASS="PARAMETER" | |
131 ><I | |
132 >audio_buf</I | |
133 ></TT | |
134 > is a pointer to the buffer created by <TT | |
135 CLASS="FUNCTION" | |
136 >SDL_LoadWAV</TT | |
137 >.</P | |
138 ></DIV | |
139 ><DIV | |
140 CLASS="REFSECT1" | |
141 ><A | |
55
55f1f1b3e27d
Added new docs for SDL 1.2.1
Sam Lantinga <slouken@lokigames.com>
parents:
0
diff
changeset
|
142 NAME="AEN6328" |
0 | 143 ></A |
144 ><H2 | |
145 >See Also</H2 | |
146 ><P | |
147 ><A | |
148 HREF="sdlloadwav.html" | |
149 ><TT | |
150 CLASS="FUNCTION" | |
151 >SDL_LoadWAV</TT | |
152 ></A | |
153 ></P | |
154 ></DIV | |
155 ><DIV | |
156 CLASS="NAVFOOTER" | |
157 ><HR | |
158 ALIGN="LEFT" | |
159 WIDTH="100%"><TABLE | |
160 WIDTH="100%" | |
161 BORDER="0" | |
162 CELLPADDING="0" | |
163 CELLSPACING="0" | |
164 ><TR | |
165 ><TD | |
166 WIDTH="33%" | |
167 ALIGN="left" | |
168 VALIGN="top" | |
169 ><A | |
170 HREF="sdlloadwav.html" | |
171 >Prev</A | |
172 ></TD | |
173 ><TD | |
174 WIDTH="34%" | |
175 ALIGN="center" | |
176 VALIGN="top" | |
177 ><A | |
178 HREF="index.html" | |
179 >Home</A | |
180 ></TD | |
181 ><TD | |
182 WIDTH="33%" | |
183 ALIGN="right" | |
184 VALIGN="top" | |
185 ><A | |
186 HREF="sdlaudiocvt.html" | |
187 >Next</A | |
188 ></TD | |
189 ></TR | |
190 ><TR | |
191 ><TD | |
192 WIDTH="33%" | |
193 ALIGN="left" | |
194 VALIGN="top" | |
195 >SDL_LoadWAV</TD | |
196 ><TD | |
197 WIDTH="34%" | |
198 ALIGN="center" | |
199 VALIGN="top" | |
200 ><A | |
201 HREF="audio.html" | |
202 >Up</A | |
203 ></TD | |
204 ><TD | |
205 WIDTH="33%" | |
206 ALIGN="right" | |
207 VALIGN="top" | |
208 >SDL_AudioCVT</TD | |
209 ></TR | |
210 ></TABLE | |
211 ></DIV | |
212 ></BODY | |
213 ></HTML | |
214 > |