Function

MusicSequenceSetAUGraph

Associates an audio processing graph with a music sequence.

Declaration

OSStatus MusicSequenceSetAUGraph(MusicSequence inSequence, AUGraph inGraph);

Parameters

inSequence

The music sequence to associate with an audio processing graph.

inGraph

The audio processing graph to associate with the music sequence.

Return Value

A result code.

Discussion

After you call this function, the system directs a played music sequence’s output to the associated audio processing graph. By default, all music tracks in the sequence are directed to the first node in the graph that is an Instrument unit (of type DLSMusicDevice).

See Also