Record TSDL_AudioSpec
Unit
Declaration
type TSDL_AudioSpec = record
Description
Overview
Fields
freq: cint; |
|
format: TSDL_AudioFormat; |
|
channels: cuint8; |
|
silence: cuint8; |
|
samples: cuint16; |
|
padding: cuint16; |
|
size: cuint32; |
|
callback: TSDL_AudioCallback; |
|
userdata: Pointer; |
Description
Fields
freq: cint; |
|
format: TSDL_AudioFormat; |
|
< DSP frequency – samples per second * |
channels: cuint8; |
|
< Audio data format * |
silence: cuint8; |
|
< Number of channels: 1 mono, 2 stereo * |
samples: cuint16; |
|
< Audio buffer silence value (calculated) * |
padding: cuint16; |
|
< Audio buffer size in sample FRAMES (total samples divided by channel count) * |
size: cuint32; |
|
< Necessary for some compile environments * |
callback: TSDL_AudioCallback; |
|
< Audio buffer size in bytes (calculated) * |
userdata: Pointer; |
|
< Callback that feeds the audio device (NULL to use SDL_QueueAudio()). * |
Generated by PasDoc 0.16.0.