Contents

AudioStreamPropertyListenerProc

Declaration

typealias AudioStreamPropertyListenerProc = (AudioStreamID, UInt32, AudioDevicePropertyID, UnsafeMutableRawPointer?) -> OSStatus

Parameters

  • inStream:

    The AudioStream whose property has changed.

  • inChannel:

    The channel of the property that changed where 0 is the main channel.

  • inPropertyID:

    The AudioDevicePropertyID of the property that changed.

  • inClientData:

    A pointer to client data established when the listener proc was registered with the object.

Return Value

The return value is currently unused and should always be 0.

Discussion

Clients register an AudioStreamPropertyListenerProc with the AudioStream object 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