Tao.Sdl SDK Documentation

Sdl.SDL_AudioSpec Members

Sdl.SDL_AudioSpec overview

Public Instance Fields

callback Callback function for filling the audio buffer This function is called when the audio device needs more data. 'stream' is a pointer to the audio data buffer 'len' is the length of that buffer in bytes. Once the callback returns, the buffer will no longer be valid. Stereo samples are stored in a LRLRLR ordering.
channels Number of channels: 1 mono, 2 stereo.
format Audio data format.
freq Audio frequency in samples per second
padding Necessary for some compile environments. Should not be used
samples Audio buffer size in samples.
silence Audio buffer silence value (calculated).
size Audio buffer size in bytes (calculated)
userdata Pointer the user data which is passed to the callback function

Public Instance Methods

Equals (inherited from ValueType) 
GetHashCode (inherited from ValueType) 
GetType (inherited from Object) 
ToString (inherited from ValueType) 

See Also

Sdl.SDL_AudioSpec Class | Tao.Sdl Namespace | SDL_OpenAudio | SDL_LoadWAV