C# Class ManicDigger.AudioOpenAl

Datei anzeigen Open project: henon/manic_digger Class Usage Examples

Public Methods

Method Description
AudioOpenAl ( ) : System
GetSoundFormat ( int channels, int bits ) : OpenTK.Audio.OpenAL.ALFormat
LoadWave ( Stream stream, int &channels, int &bits, int &rate ) : byte[]
Play ( string filename ) : void
PlayAudioLoop ( string filename, bool play ) : void
PlayAudioLoop ( string filename, bool play, bool restart ) : void

Method Details

AudioOpenAl() public method

public AudioOpenAl ( ) : System
return System

GetSoundFormat() public static method

public static GetSoundFormat ( int channels, int bits ) : OpenTK.Audio.OpenAL.ALFormat
channels int
bits int
return OpenTK.Audio.OpenAL.ALFormat

LoadWave() public static method

public static LoadWave ( Stream stream, int &channels, int &bits, int &rate ) : byte[]
stream Stream
channels int
bits int
rate int
return byte[]

Play() public method

public Play ( string filename ) : void
filename string
return void

PlayAudioLoop() public method

public PlayAudioLoop ( string filename, bool play ) : void
filename string
play bool
return void

PlayAudioLoop() public method

public PlayAudioLoop ( string filename, bool play, bool restart ) : void
filename string
play bool
restart bool
return void