C# Class Fusion.Drivers.Audio.SoundEffectInstance

Inheritance: IDisposable
Exibir arquivo Open project: demiurghg/FusionEngine Class Usage Examples

Private Properties

Property Type Description
SoundEffectInstance System
TryPlay bool

Public Methods

Method Description
Apply3D ( AudioListener listener, AudioEmitter emitter ) : void

Dispose ( ) : void

Pause ( ) : void

Play ( ) : void

Resume ( ) : void

Stop ( bool immediate ) : void

Private Methods

Method Description
SoundEffectInstance ( AudioDevice device, SoundEffect effect, SharpDX.XAudio2.SourceVoice voice ) : System

TryPlay ( ) : bool

Tries to play the sound, returns true if successful

Method Details

Apply3D() public method

public Apply3D ( AudioListener listener, AudioEmitter emitter ) : void
listener AudioListener
emitter AudioEmitter
return void

Dispose() public method

public Dispose ( ) : void
return void

Pause() public method

public Pause ( ) : void
return void

Play() public method

public Play ( ) : void
return void

Resume() public method

public Resume ( ) : void
return void

Stop() public method

public Stop ( bool immediate ) : void
immediate bool
return void