AudioFile.SetProperty(AudioFileProperty, Int32, IntPtr) Method

Definition

Sets the value of the specified property to propertyData, which must have the size that is specified in dataSize.

public bool SetProperty(AudioToolbox.AudioFileProperty property, int dataSize, IntPtr propertyData);
member this.SetProperty : AudioToolbox.AudioFileProperty * int * nativeint -> bool

Parameters

property
AudioFileProperty

The property to set.

dataSize
Int32

The size of propertyData.

propertyData
IntPtr

nativeint

A pointer to the data to set.

Returns

Whether the operation succeeded or not.

Applies to