Record TSDL_AudioCVT

Hierarchy
Methods
Properties

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

Public needed: cint;
Public src_format: TSDL_AudioFormat;
Public dst_format: TSDL_AudioFormat;
Public rate_incr: cdouble;
Public buf: pcuint8;
Public len: cint;
Public len_cvt: cint;
Public len_mult: cint;
Public len_ratio: cdouble;
Public filters: array[0..SDL_AUDIOCVT_MAX_FILTERS] of TSDL_AudioFilter;
Public filter_index: cint;

Description

Fields

Public needed: cint;
 
Public src_format: TSDL_AudioFormat;

< Set to 1 if conversion possible *

Public dst_format: TSDL_AudioFormat;

< Source audio format *

Public rate_incr: cdouble;

< Target audio format *

Public buf: pcuint8;

< Rate conversion increment *

Public len: cint;

< Buffer to hold entire audio data *

Public len_cvt: cint;

< Length of original audio buffer *

Public len_mult: cint;

< Length of converted audio buffer *

Public len_ratio: cdouble;

< buffer must be len*len_mult big *

Public filters: array[0..SDL_AUDIOCVT_MAX_FILTERS] of TSDL_AudioFilter;

< Given len, final size is len*len_ratio *

Public filter_index: cint;

< NULL-terminated list of filter functions *


Generated by PasDoc 0.16.0.