Mercurial > sdl-ios-xcode
comparison docs/html/sdlmixaudio.html @ 55:55f1f1b3e27d
Added new docs for SDL 1.2.1
author | Sam Lantinga <slouken@lokigames.com> |
---|---|
date | Sun, 10 Jun 2001 19:31:57 +0000 |
parents | 74212992fb08 |
children | e5bc29de3f0a |
comparison
equal
deleted
inserted
replaced
54:028447a8a758 | 55:55f1f1b3e27d |
---|---|
2 ><HEAD | 2 ><HEAD |
3 ><TITLE | 3 ><TITLE |
4 >SDL_MixAudio</TITLE | 4 >SDL_MixAudio</TITLE |
5 ><META | 5 ><META |
6 NAME="GENERATOR" | 6 NAME="GENERATOR" |
7 CONTENT="Modular DocBook HTML Stylesheet Version 1.61 | 7 CONTENT="Modular DocBook HTML Stylesheet Version 1.64 |
8 "><LINK | 8 "><LINK |
9 REL="HOME" | 9 REL="HOME" |
10 TITLE="SDL Library Documentation" | 10 TITLE="SDL Library Documentation" |
11 HREF="index.html"><LINK | 11 HREF="index.html"><LINK |
12 REL="UP" | 12 REL="UP" |
71 >SDL_MixAudio</A | 71 >SDL_MixAudio</A |
72 ></H1 | 72 ></H1 |
73 ><DIV | 73 ><DIV |
74 CLASS="REFNAMEDIV" | 74 CLASS="REFNAMEDIV" |
75 ><A | 75 ><A |
76 NAME="AEN6485" | 76 NAME="AEN6560" |
77 ></A | 77 ></A |
78 ><H2 | 78 ><H2 |
79 >Name</H2 | 79 >Name</H2 |
80 >SDL_MixAudio -- Mix audio data</DIV | 80 >SDL_MixAudio -- Mix audio data</DIV |
81 ><DIV | 81 ><DIV |
82 CLASS="REFSYNOPSISDIV" | 82 CLASS="REFSYNOPSISDIV" |
83 ><A | 83 ><A |
84 NAME="AEN6488" | 84 NAME="AEN6563" |
85 ></A | 85 ></A |
86 ><H2 | 86 ><H2 |
87 >Synopsis</H2 | 87 >Synopsis</H2 |
88 ><DIV | 88 ><DIV |
89 CLASS="FUNCSYNOPSIS" | 89 CLASS="FUNCSYNOPSIS" |
90 ><A | 90 ><A |
91 NAME="AEN6489" | 91 NAME="AEN6564" |
92 ></A | 92 ></A |
93 ><P | 93 ><P |
94 ></P | 94 ></P |
95 ><PRE | 95 ><PRE |
96 CLASS="FUNCSYNOPSISINFO" | 96 CLASS="FUNCSYNOPSISINFO" |
110 ></DIV | 110 ></DIV |
111 ></DIV | 111 ></DIV |
112 ><DIV | 112 ><DIV |
113 CLASS="REFSECT1" | 113 CLASS="REFSECT1" |
114 ><A | 114 ><A |
115 NAME="AEN6495" | 115 NAME="AEN6570" |
116 ></A | 116 ></A |
117 ><H2 | 117 ><H2 |
118 >Description</H2 | 118 >Description</H2 |
119 ><P | 119 ><P |
120 >This takes two audio buffers of the playing audio format and mixes | 120 >This function takes two audio buffers of <TT |
121 them, performing addition, volume adjustment, and overflow clipping. | 121 CLASS="PARAMETER" |
122 The <TT | 122 ><I |
123 >len</I | |
124 ></TT | |
125 > bytes each | |
126 of the playing audio format and mixes them, performing addition, volume | |
127 adjustment, and overflow clipping. The <TT | |
123 CLASS="PARAMETER" | 128 CLASS="PARAMETER" |
124 ><I | 129 ><I |
125 >volume</I | 130 >volume</I |
126 ></TT | 131 ></TT |
127 > ranges from 0 - 128, | 132 > ranges |
128 and should be set to <TT | 133 from 0 to <TT |
129 CLASS="LITERAL" | 134 CLASS="LITERAL" |
130 >SDL_MIX_MAXVOLUME</TT | 135 >SDL_MIX_MAXVOLUME</TT |
131 > | 136 > and should be set to the maximum |
132 for full audio volume. Note this does not change hardware volume. | 137 value for full audio volume. Note this does not change hardware volume. This is |
133 This is provided for convenience -- you can mix your own audio data.</P | 138 provided for convenience -- you can mix your own audio data.</P |
134 ></DIV | 139 ></DIV |
135 ><DIV | 140 ><DIV |
136 CLASS="REFSECT1" | 141 CLASS="REFSECT1" |
137 ><A | 142 ><A |
138 NAME="AEN6500" | 143 NAME="AEN6576" |
139 ></A | 144 ></A |
140 ><H2 | 145 ><H2 |
141 >See Also</H2 | 146 >See Also</H2 |
142 ><P | 147 ><P |
143 ><A | 148 ><A |