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.1082)
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
- 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.
Parameters
- buffer
-
Type: System.Byte[]
The buffer containing PCM audio data.
- offset
-
Type: System.Int32
The starting position of audio data.
- count
-
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
Web
Windows DirectX Desktop
Linux Desktop
Windows OpenGL Desktop
Web