Function

AudioFileRemoveUserData

Removes a user data item from an audio file.

Declaration

OSStatus AudioFileRemoveUserData(AudioFileID inAudioFile, UInt32 inUserDataID, UInt32 inIndex);

Parameters

inAudioFile

The audio file that contains the user data item you want to remove.

inUserDataID

The four-character code such as COMM of the user data item.

inIndex

An index specifying the chunk to remove. You use this parameter if the file contains more than one user data item with the four-character code specified in the inUserDataID parameter.

Return Value

A result code. See Result Codes.

See Also

Working with User Data

AudioFileCountUserData

Gets the number of user data items with a specified ID in a file.

AudioFileGetUserDataSize

Gets the size of a user data item in an audio file.

AudioFileSetUserData

Sets a user data item in an audio file.

AudioFileGetUserData

Gets a chunk from an audio file.