WaveBank

class WaveBank : System.Object, System.IDisposable

Represents a collection of wave files.

readonly bool IsInUse
readonly bool IsPrepared
readonly bool IsDisposed

Is true if the WaveBank has been disposed.

SoundEffectInstance GetSoundEffectInstance(int trackIndex, ref bool streaming)
Parameters:
  • trackIndex (int) –
  • (ref) streaming (bool) –
public void add_Disposing(System.EventHandler<EventArgs> value)
Parameters:
  • value (System.EventHandler<EventArgs>) –
public void remove_Disposing(System.EventHandler<EventArgs> value)
Parameters:
  • value (System.EventHandler<EventArgs>) –
public void Dispose()

Disposes the WaveBank.