comparison docs/html/sdlmixaudio.html @ 181:e5bc29de3f0a

Updated from the SDL Documentation Project
author Sam Lantinga <slouken@libsdl.org>
date Fri, 14 Sep 2001 02:41:09 +0000
parents 55f1f1b3e27d
children 355632dca928
comparison
equal deleted inserted replaced
180:578815880307 181:e5bc29de3f0a
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="AEN6560" 76 NAME="AEN6719"
77 ></A 77 ></A
78 ><H2 78 ><H2
79 >Name</H2 79 >Name</H2
80 >SDL_MixAudio&nbsp;--&nbsp;Mix audio data</DIV 80 >SDL_MixAudio&nbsp;--&nbsp;Mix audio data</DIV
81 ><DIV 81 ><DIV
82 CLASS="REFSYNOPSISDIV" 82 CLASS="REFSYNOPSISDIV"
83 ><A 83 ><A
84 NAME="AEN6563" 84 NAME="AEN6722"
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="AEN6564" 91 NAME="AEN6723"
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="AEN6570" 115 NAME="AEN6729"
116 ></A 116 ></A
117 ><H2 117 ><H2
118 >Description</H2 118 >Description</H2
119 ><P 119 ><P
120 >This function takes two audio buffers of <TT 120 >This function takes two audio buffers of <TT
134 CLASS="LITERAL" 134 CLASS="LITERAL"
135 >SDL_MIX_MAXVOLUME</TT 135 >SDL_MIX_MAXVOLUME</TT
136 > and should be set to the maximum 136 > and should be set to the maximum
137 value for full audio volume. Note this does not change hardware volume. This is 137 value for full audio volume. Note this does not change hardware volume. This is
138 provided for convenience -- you can mix your own audio data.</P 138 provided for convenience -- you can mix your own audio data.</P
139 ><DIV
140 CLASS="NOTE"
141 ><BLOCKQUOTE
142 CLASS="NOTE"
143 ><P
144 ><B
145 >Note: </B
146 >Do not use this function for mixing together more than two streams of sample
147 data. The output from repeated application of this function may be distorted
148 by clipping, because there is no accumulator with greater range than the
149 input (not to mention this being an inefficient way of doing it).
150 Use mixing functions from SDL_mixer, OpenAL, or write your own mixer instead.</P
151 ></BLOCKQUOTE
152 ></DIV
139 ></DIV 153 ></DIV
140 ><DIV 154 ><DIV
141 CLASS="REFSECT1" 155 CLASS="REFSECT1"
142 ><A 156 ><A
143 NAME="AEN6576" 157 NAME="AEN6737"
144 ></A 158 ></A
145 ><H2 159 ><H2
146 >See Also</H2 160 >See Also</H2
147 ><P 161 ><P
148 ><A 162 ><A