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

Queues an audio buffer for playback.

Namespace: Microsoft.Xna.Framework.Audio
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.796)
  • C#
  • VB
  • F#
public void SubmitBuffer(
	Byte[] buffer
)

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Parameters

buffer
Type: System.Byte[]
The buffer containing PCM audio data.
The buffer length must conform to alignment requirements for the audio format.
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web