AudioSessionSetProperty(_:_:_:)
Sets the value of a specified audio session property.
Declaration
func AudioSessionSetProperty(_ inID: AudioSessionPropertyID, _ inDataSize: UInt32, _ inData: UnsafeRawPointer!) -> OSStatusParameters
- inID:
The identifier for the audio session property that you want to set the value of.
- inDataSize:
The size, in bytes, of the value in the
inDataparameter. - inData:
The value that you are applying to the specified audio session property.
Return Value
A result code. See Result Codes.
Discussion
Audio session properties are listed and described in Audio Session Property Identifiers.
See Also
Related Documentation
Functions
AudioFileReadPackets(_:_:_:_:_:_:_:)AudioComponentGetIcon(_:_:)AudioComponentGetLastActiveTime(_:)AudioHardwareServiceAddPropertyListener(_:_:_:_:)AudioHardwareServiceGetPropertyData(_:_:_:_:_:_:)AudioHardwareServiceGetPropertyDataSize(_:_:_:_:_:)AudioHardwareServiceHasProperty(_:_:)AudioHardwareServiceIsPropertySettable(_:_:_:)AudioHardwareServiceRemovePropertyListener(_:_:_:_:)AudioHardwareServiceSetPropertyData(_:_:_:_:_:_:)AudioOutputUnitGetHostIcon(_:_:)AudioOutputUnitPublish(_:_:_:_:)AudioSessionAddPropertyListener(_:_:_:)AudioSessionGetProperty(_:_:_:)AudioSessionGetPropertySize(_:_:)