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

Queues an audio buffer for playback.

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

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.


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