AudioQueue.FillAudioData(IntPtr, Int32, IntPtr, Int32, nint) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Copies raw audio data contained at the location pointed to by source+sourceOffset at the specified offset into the AudioQueueBuffer.
public static void FillAudioData (IntPtr audioQueueBuffer, int offset, IntPtr source, int sourceOffset, nint size);
static member FillAudioData : nativeint * int * nativeint * int * nint -> unit
Parameters
- audioQueueBuffer
-
IntPtr
nativeint
An audio buffer allocated with either the AllocateBuffer(Int32, AudioQueueBuffer*) method or the AllocateBufferWithPacketDescriptors(Int32, Int32, IntPtr) methods.
- offset
- Int32
Offset into the audio queue buffer to copy the data to.
- source
-
IntPtr
nativeint
Pointer to the data source to copy into the audio queue buffer.
- sourceOffset
- Int32
Offset inside the source.
- size
- System.System.IntPtr System.nativeint
Number of bytes to copy into the audio queue buffer.