AudioHardwarePropertyListenerProc
Declaration
typealias AudioHardwarePropertyListenerProc = (AudioHardwarePropertyID, UnsafeMutableRawPointer?) -> OSStatusParameters
- inPropertyID:
The AudioHardwarePropertyID of the property that changed.
- inClientData:
A pointer to client data established when the listener proc was registered with the AudioSystemObject.
Return Value
The return value is currently unused and should always be 0.
Discussion
Clients register an AudioHardwarePropertyListenerProc with the AudioSystemObject in order to receive notifications when the properties of the object change.
Note that the same functionality is provided by AudioObjectPropertyListenerProc.
See Also
Data Types
AudioClassIDAudioDeviceIDAudioDeviceIOBlockAudioDeviceIOProcAudioDeviceIOProcIDAudioDevicePropertyIDAudioDevicePropertyListenerProcAudioHardwarePropertyIDAudioObjectIDAudioObjectPropertyElementAudioObjectPropertyListenerBlockAudioObjectPropertyListenerProcAudioObjectPropertyScopeAudioObjectPropertySelectorAudioStreamID