C# Class Animatroller.AudioTrigger.EffectManager

Datei anzeigen Open project: HakanL/animatroller Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
EffectManager ( SharpDX.XAudio2.XAudio2 xaudio2, int maxInstances, string soundPath ) : System
Play ( EffectSound sound ) : SharpDX.XAudio2.SourceVoice
Play ( string filename ) : SharpDX.XAudio2.SourceVoice

Private Methods

Method Description
newVoice_BufferEnd ( IntPtr obj ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

EffectManager() public method

public EffectManager ( SharpDX.XAudio2.XAudio2 xaudio2, int maxInstances, string soundPath ) : System
xaudio2 SharpDX.XAudio2.XAudio2
maxInstances int
soundPath string
return System

Play() public method

public Play ( EffectSound sound ) : SharpDX.XAudio2.SourceVoice
sound EffectSound
return SharpDX.XAudio2.SourceVoice

Play() public method

public Play ( string filename ) : SharpDX.XAudio2.SourceVoice
filename string
return SharpDX.XAudio2.SourceVoice