Function

MusicSequenceFileLoadData

Load data into a music sequence from a data reference.

Declaration

OSStatus MusicSequenceFileLoadData(MusicSequence inSequence, CFDataRef inData, MusicSequenceFileTypeID inFileTypeHint, MusicSequenceLoadFlags inFlags);

Parameters

inSequence

The music sequence to load the data into.

inData

The contents of a valid file loaded into a CFData object.

inFileTypeHint

Provides a hint to the system about the file type referenced by the inFileRef parameter.

inFlags

Flags that specify how the data should be parsed, and how it should be assigned to tracks. See MusicSequenceLoadFlags.

Return Value

A result code.

Discussion

The data to be loaded must conform to the file type indicated by the inFileTypeHint parameter.

See Also