Record TSDL_AudioSpec

Hierarchy
Methods
Properties

Unit

Declaration

type TSDL_AudioSpec = record

Description

 

Overview

Fields

Public freq: cint;
Public format: TSDL_AudioFormat;
Public channels: cuint8;
Public silence: cuint8;
Public samples: cuint16;
Public padding: cuint16;
Public size: cuint32;
Public callback: TSDL_AudioCallback;
Public userdata: Pointer;

Description

Fields

Public freq: cint;
 
Public format: TSDL_AudioFormat;

< DSP frequency – samples per second *

Public channels: cuint8;

< Audio data format *

Public silence: cuint8;

< Number of channels: 1 mono, 2 stereo *

Public samples: cuint16;

< Audio buffer silence value (calculated) *

Public padding: cuint16;

< Audio buffer size in sample FRAMES (total samples divided by channel count) *

Public size: cuint32;

< Necessary for some compile environments *

Public callback: TSDL_AudioCallback;

< Audio buffer size in bytes (calculated) *

Public userdata: Pointer;

< Callback that feeds the audio device (NULL to use SDL_QueueAudio()). *


Generated by PasDoc 0.16.0.