AudioQueue.FillAudioData(IntPtr, Int32, IntPtr, Int32, nint) Method

Definition

Copies raw audio data contained at the location pointed to by source+sourceOffset at the specified offset into the AudioQueueBuffer.

C#
public static void FillAudioData(IntPtr audioQueueBuffer, int offset, IntPtr source, int sourceOffset, nint size);

Parameters

audioQueueBuffer
IntPtr

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

Pointer to the data source to copy into the audio queue buffer.

sourceOffset
Int32

Offset inside the source.

size
System.System.IntPtr

Number of bytes to copy into the audio queue buffer.

Applies to

Producto Versiones
Xamarin iOS SDK 12