Contents

AudioSessionSetProperty(_:_:_:)

Sets the value of a specified audio session property.

Declaration

func AudioSessionSetProperty(_ inID: AudioSessionPropertyID, _ inDataSize: UInt32, _ inData: UnsafeRawPointer!) -> OSStatus

Parameters

  • 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 inData parameter.

  • 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