WaveBank.WaveBank Method (Microsoft.Xna.Framework.Audio)


Namespace: Microsoft.Xna.Framework.Audio
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
  • C#
  • VB
  • F#
public WaveBank(
	AudioEngine audioEngine, 
	string nonStreamingWaveBankFilename
)

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Parameters

audioEngine
Type: Microsoft.Xna.Framework.Audio.AudioEngine
Instance of the AudioEngine to associate this wave bank with.
nonStreamingWaveBankFilename
Type: System.String
Path to the .xwb file to load.
This constructor immediately loads all wave data into memory at once.
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web