Record TSDL_AudioCVT
Unit
Declaration
type TSDL_AudioCVT = record
Description
\struct SDL_AudioCVT \brief A structure to hold a set of audio conversion filters and buffers.
Note that various parts of the conversion pipeline can take advantage of SIMD operations (like SSE2, for example). SDL_AudioCVT doesn't require you to pass it aligned data, but can possibly run much faster if you set both its (buf) field to a pointer that is aligned to 16 bytes, and its (len) field to something that's a multiple of 16, if possible.
Overview
Fields
![]() |
needed: cint; |
![]() |
src_format: TSDL_AudioFormat; |
![]() |
dst_format: TSDL_AudioFormat; |
![]() |
rate_incr: cdouble; |
![]() |
buf: pcuint8; |
![]() |
len: cint; |
![]() |
len_cvt: cint; |
![]() |
len_mult: cint; |
![]() |
len_ratio: cdouble; |
![]() |
filters: array[0..SDL_AUDIOCVT_MAX_FILTERS] of TSDL_AudioFilter; |
![]() |
filter_index: cint; |
Description
Fields
![]() |
needed: cint; |
![]() |
src_format: TSDL_AudioFormat; |
< Set to 1 if conversion possible * |
![]() |
dst_format: TSDL_AudioFormat; |
< Source audio format * |
![]() |
rate_incr: cdouble; |
< Target audio format * |
![]() |
buf: pcuint8; |
< Rate conversion increment * |
![]() |
len: cint; |
< Buffer to hold entire audio data * |
![]() |
len_cvt: cint; |
< Length of original audio buffer * |
![]() |
len_mult: cint; |
< Length of converted audio buffer * |
![]() |
len_ratio: cdouble; |
< buffer must be len*len_mult big * |
![]() |
filters: array[0..SDL_AUDIOCVT_MAX_FILTERS] of TSDL_AudioFilter; |
< Given len, final size is len*len_ratio * |
![]() |
filter_index: cint; |
< NULL-terminated list of filter functions * |
Generated by PasDoc 0.16.0.