Contents

MusicTrackSetProperty(_:_:_:_:)

Sets a music track property value.

Declaration

func MusicTrackSetProperty(_ inTrack: MusicTrack, _ inPropertyID: UInt32, _ inData: UnsafeMutableRawPointer, _ inLength: UInt32) -> OSStatus

Parameters

  • inTrack:

    The music track that you want to set a property value for.

  • inPropertyID:

    The identifier for the music track property that you want to set. See 1515456 Music Track Properties for possible values.

  • inData:

    The new property value.

  • inLength:

    The size of the new property value.

Return Value

A result code.

Discussion

Music track property values are always accessed by reference.

See Also

Managing Music Tracks