Bearbeiten

Freigeben über


AudioBuffers Constructors

Definition

Overloads

AudioBuffers(Int32)

Creates an AudioBuffers structure that can hold a fixed number of AudioBuffer structures.

AudioBuffers(IntPtr)

Creates and AudioBuffers object that can be used to query and manipulate a native AudioBuffersList structure.

AudioBuffers(IntPtr, Boolean)

Creates and AudioBuffers object that can be used to query and manipulate a native AudioBuffersList structure.

AudioBuffers(Int32)

Creates an AudioBuffers structure that can hold a fixed number of AudioBuffer structures.

public AudioBuffers (int count);
new AudioToolbox.AudioBuffers : int -> AudioToolbox.AudioBuffers

Parameters

count
Int32

Number of buffers to create for this AudioBuffer.

Remarks

The allocated structure will be released when you call Dispose(Boolean).

Applies to

AudioBuffers(IntPtr)

Creates and AudioBuffers object that can be used to query and manipulate a native AudioBuffersList structure.

public AudioBuffers (IntPtr address);
new AudioToolbox.AudioBuffers : nativeint -> AudioToolbox.AudioBuffers

Parameters

address
IntPtr

nativeint

Pointer to an existing C-based AudioBufferList.

Applies to

AudioBuffers(IntPtr, Boolean)

Creates and AudioBuffers object that can be used to query and manipulate a native AudioBuffersList structure.

public AudioBuffers (IntPtr address, bool owns);
new AudioToolbox.AudioBuffers : nativeint * bool -> AudioToolbox.AudioBuffers

Parameters

address
IntPtr

nativeint

Pointer to an existing C-based AudioBufferList.

owns
Boolean

Determines whether the user code owns the buffer pointed to by address, in that case, calling Dispose will release the buffer.

Remarks

If you set owns to true, the structure pointed to by "address" will be released when you call Dispose(Boolean).

Applies to