Tao.Sdl SDK Documentation

Sdl.SDL_AudioSpec.samples Field

Audio buffer size in samples.

[Visual Basic]
Public samples As Short
[C#]
public short samples;

Remarks

When used with SDL_OpenAudio this refers to the size of the audio buffer in samples. A sample a chunk of audio data of the size specified in format mulitplied by the number of channels. When the SDL_AudioSpec is used with SDL_LoadWAV samples is set to 4096.

See Also

Sdl.SDL_AudioSpec Class | Tao.Sdl Namespace