Modifier

Partager via


InputAudioQueue.EnqueueBuffer(AudioQueueBuffer*) Method

Definition

Adds the specified buffer to the queue.

public AudioToolbox.AudioQueueStatus EnqueueBuffer (AudioToolbox.AudioQueueBuffer* buffer);
override this.EnqueueBuffer : nativeptr<AudioToolbox.AudioQueueBuffer> -> AudioToolbox.AudioQueueStatus

Parameters

buffer
AudioQueueBuffer*

The buffer to add.

Returns

Status code

Remarks

This is equivalent to calling EnqueueBuffer with an empty AudioStreamPacketDescription (for example, for constant bit rates, or while recording).

Applies to