Wiki Page Content

Differences between revisions 3 and 5 (spanning 2 versions)
Revision 3 as of 2009-12-13 06:45:13
Size: 1248
Editor: SheenaSmith
Comment: format test
Revision 5 as of 2009-12-13 06:48:36
Size: 1146
Editor: SheenaSmith
Comment:
Deletions are marked like this. Additions are marked like this.
Line 19: Line 19:
||<style="color: #808080;">[[SDL_AudioFilter]][10]||<style="color: #808080;">'''filters'''||<style="color: #808080;">filter list||
||<style="color: #6E6E6E;">int||<style="color: #6E6E6E;">
'''filter_index'''||<style="color: #6E6E6E;">current audio conversion function||
||SDL_Audio``Filter[10]||<style="color: #808080;">'''filters'''||filter list||
||int||
<style="color: #808080;">'''filter_index'''||current audio conversion function||

SDL_AudioCVT

A structure that is used for audio data conversion.

Data Fields

int

needed

set to 1 if conversion possible

SDL_AudioFormat

src_format

source audio format

SDL_AudioFormat

dst_format

target audio format

double

rate_incr

rate conversion increment

Uint8*

buf

a pointer to a buffer to hold entire audio data

int

len

length of original audio buffer

int

len_cvt

length of converted audio buffer

int

len_mult

buf must be len*len_mult big

double

len_ratio

given len, final size is len*len_ratio

SDL_AudioFilter[10]

filters

filter list

int

filter_index

current audio conversion function

Code Examples

You can add your code example here

Remarks

You can add useful comments here


CategoryStruct

None: SDL_AudioCVT (last edited 2015-01-02 21:38:51 by PhilippWiesemann)

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit