MusicSequenceGetAUGraph(_:_:)
Gets the audio processing graph associated with a music sequence.
Declaration
func MusicSequenceGetAUGraph(_ inSequence: MusicSequence, _ outGraph: UnsafeMutablePointer<AUGraph?>) -> OSStatusParameters
- inSequence:
The music sequence whose associated audio processing graph you want to get.
- outGraph:
On output, the audio processing graph associated with the music sequence.
Return Value
A result code.
Discussion
If no audio processing graph is already associated with the music sequence, this function creates a default graph. The default graph contains an Instrument unit (of type DLSMusicDevice) and a dynamic compressor unit (of type DynamicCompressor). In this case, all music tracks in the music sequence have their outputs directed to the Instrument unit.
See Also
Managing Music Sequences
NewMusicSequence(_:)DisposeMusicSequence(_:)MusicSequenceBarBeatTimeToBeats(_:_:_:)MusicSequenceBeatsToBarBeatTime(_:_:_:_:)MusicSequenceDisposeTrack(_:_:)MusicSequenceFileCreate(_:_:_:_:_:)MusicSequenceFileCreateData(_:_:_:_:_:)MusicSequenceFileLoad(_:_:_:_:)MusicSequenceFileLoadData(_:_:_:_:)MusicSequenceGetBeatsForSeconds(_:_:_:)MusicSequenceGetIndTrack(_:_:_:)MusicSequenceGetInfoDictionary(_:)MusicSequenceGetSMPTEResolution(_:_:_:)MusicSequenceGetSecondsForBeats(_:_:_:)MusicSequenceGetSequenceType(_:_:)