Function

AudioUnitRemovePropertyListenerWithUserData

Unregisters a previously-registered property listener callback function.

Declaration

OSStatus AudioUnitRemovePropertyListenerWithUserData(AudioUnit inUnit, AudioUnitPropertyID inID, AudioUnitPropertyListenerProc inProc, void *inProcUserData);

Parameters

inUnit

The audio unit that you no longer want to receive property change notifications from.

inID

The identifier for the property that you no longer want to monitor.

inProc

The callback function that you previously registered and are now unregistering.

inProcUserData

The custom data that you provided when registering the callback function.

Return Value

A result code.

See Also

Using Audio Unit Properties

AudioUnitAddPropertyListener

Registers a callback to receive audio unit property change notifications.

AudioUnitGetProperty

Gets the value of an audio unit property.

AudioUnitGetPropertyInfo

Gets information about an audio unit property.

AudioUnitSetProperty

Sets the value of an audio unit property.