SDLSample.this

Loads a sample from a file.

class SDLSample
this

Parameters

sdlmixer SDLMixer

library object.

filename string

path to the audio sample.

Throws

SDL2Exception on error.

Meta