AudioFileRemoveUserData(_:_:_:)
Removes a user data item from an audio file.
Declaration
func AudioFileRemoveUserData(_ inAudioFile: AudioFileID, _ inUserDataID: UInt32, _ inIndex: UInt32) -> OSStatusParameters
- inAudioFile:
The audio file that contains the user data item you want to remove.
- inUserDataID:
The four-character code such as
COMMof the user data item. - inIndex:
An index specifying the chunk to remove. Use this parameter if the file contains more than one user data item with the four-character code that you specified in the
inUserDataIDparameter.
Return Value
A result code if there’s an error (see Result Codes) or noErr if the operation succeeds.