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
  • C#
  • VB
  • F#
public void Stop(
	bool immediate

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.


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