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, 
	int offset, 
	int count

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.


Type: System.Byte[]
The buffer containing PCM audio data.
Type: System.Int32
The starting position of audio data.
Type: System.Int32
The amount of bytes to use.
The buffer length must conform to alignment requirements for the audio format.
Supported in:

 Windows DirectX Desktop
 Linux Desktop
 Windows OpenGL Desktop