DynamicSoundEffectInstance.BufferNeeded Event (Microsoft.Xna.Framework.Audio)

The event that occurs when the number of queued audio buffers is less than or equal to 2.

Namespace: Microsoft.Xna.Framework.Audio
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.796)
  • C#
  • VB
  • F#
public EventHandler<EventArgs> BufferNeeded

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

This event may occur when Play() is called or during playback when a buffer is completed.
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web