Share via


AudioFile.GetUserDataSize Method

Definition

Overloads

Name Description
GetUserDataSize(UInt32, Int32, UInt64)

Get the 64-bit size of the specified user data.

GetUserDataSize(AudioFileChunkType, Int32, UInt64)

Get the 64-bit size of the specified user data.

GetUserDataSize(AudioFileChunkType, Int32)

Get the size of the specified user data.

GetUserDataSize(UInt32, Int32)

Get the size of the specified user data.

GetUserDataSize(UInt32, Int32, UInt64)

Get the 64-bit size of the specified user data.

public AudioToolbox.AudioFileError GetUserDataSize(uint userDataId, int index, out ulong size);
member this.GetUserDataSize : uint32 * int * uint64 -> AudioToolbox.AudioFileError

Parameters

userDataId
UInt32

The fourcc of the chunk.

index
Int32

The index of the chunk if there are more than one chunks.

size
UInt64

The retrieved 64-bit size of the specified user data.

Returns

Returns Success on success, otherwise an AudioFileError error code.

Applies to

GetUserDataSize(AudioFileChunkType, Int32, UInt64)

Get the 64-bit size of the specified user data.

public AudioToolbox.AudioFileError GetUserDataSize(AudioToolbox.AudioFileChunkType chunkType, int index, out ulong size);
member this.GetUserDataSize : AudioToolbox.AudioFileChunkType * int * uint64 -> AudioToolbox.AudioFileError

Parameters

chunkType
AudioFileChunkType

The fourcc of the chunk.

index
Int32

The index of the chunk if there are more than one chunks.

size
UInt64

The retrieved 64-bit size of the specified user data.

Returns

Returns Success on success, otherwise an AudioFileError error code.

Applies to

GetUserDataSize(AudioFileChunkType, Int32)

Get the size of the specified user data.

public int GetUserDataSize(AudioToolbox.AudioFileChunkType chunkType, int index);
member this.GetUserDataSize : AudioToolbox.AudioFileChunkType * int -> int

Parameters

chunkType
AudioFileChunkType

The fourcc of the chunk.

index
Int32

The index of the chunk if there are more than one chunks.

Returns

Returns the (non-negative) size on success, otherwise -1.

Applies to

GetUserDataSize(UInt32, Int32)

Get the size of the specified user data.

public int GetUserDataSize(uint userDataId, int index);
member this.GetUserDataSize : uint32 * int -> int

Parameters

userDataId
UInt32

The fourcc of the chunk.

index
Int32

The index of the chunk if there are more than one chunks.

Returns

Returns the (non-negative) size on success, otherwise -1.

Applies to