Function

AudioHardwareServiceRemovePropertyListener

Unregisters a HAL audio object property listener callback function.

Declaration

OSStatus AudioHardwareServiceRemovePropertyListener(AudioObjectID inObjectID, const AudioObjectPropertyAddress *inAddress, AudioObjectPropertyListenerProc inListener, void *inClientData);

Parameters

inObjectID

The HAL audio object to unregister the listener callback function from.

inAddress

The property you no longer want notifications about.

inListener

The property listener callback function you are removing.

inClientData

Application data you had specified when registering the callback function.

Return Value

A result code.

See Also