Function

MusicSequenceNewTrack

Add a new, empty music track to a music sequence.

Declaration

OSStatus MusicSequenceNewTrack(MusicSequence inSequence, MusicTrack  _Nullable *outTrack);

Parameters

inSequence

The music sequence to add the new music track to.

outTrack

On output, the new music track that was appended to the list of tracks for the music sequence.

Return Value

A result code.

See Also