SetPanningChannels
Sets the current stereo panning channels.
Declaration
kern_return_t SetPanningChannels(IOUserAudioObjectPropertyElement in_left_channel, IOUserAudioObjectPropertyElement in_right_channel);Parameters
- in_left_channel:
The Iouseraudioobjectpropertyelement for the left channel.
- in_right_channel:
The Iouseraudioobjectpropertyelement for the right channel.
Return Value
kIOReturnSuccess on success, or another value if an error occurs. For a list of error codes, see Error Codes.
Discussion
If successful, changing the panning channels sends a notification to the host to update the object state.
This method synchronizes by using the work queue created by the object.