AudioFileSetProperty(_:_:_:_:)
Sets the value of an audio file property
Declaration
func AudioFileSetProperty(_ inAudioFile: AudioFileID, _ inPropertyID: AudioFilePropertyID, _ inDataSize: UInt32, _ inPropertyData: UnsafeRawPointer) -> OSStatusParameters
- inAudioFile:
The audio file that you want to set a property value for.
- inPropertyID:
The property whose value you want to set. See 1576499 Audio File Properties for possible values. Use the Audiofilegetpropertyinfo(_:_:_:_:) function to determine whether the property value is writable.
- inDataSize:
The size of the value you are passing in the
inPropertyDataparameter. - inPropertyData:
The new value for the property.
Return Value
A result code. See Result Codes.