DynamicSoundEffectInstance.Stop Method (Microsoft.Xna.Framework.Audio)

Stops playing the DynamicSoundEffectInstance. If the immediate parameter is false, this call has no effect.

Namespace: Microsoft.Xna.Framework.Audio
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
  • C#
  • VB
  • F#
public void Stop(
	bool immediate
)

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Parameters

immediate
Type: System.Boolean
When set to false, this call has no effect.
Calling this also releases all queued buffers.
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web