Timeline Mixer Documentation
TimelineMixer.AudioTrackProcessor Class Reference

Processes audio tracks and connects them to the correct mixer on the playable graph. Use the TrackProcessor attribute to set the track type the processor will be in charge of. More...

Inheritance diagram for TimelineMixer.AudioTrackProcessor:
[legend]

Public Member Functions

override void DisconnectTrack (PlayableNode timelineNode, int trackIndex, ref PlayableConnectionInfo info)
 Use this to cleanly disconnect tracks from their mixers and destroys any intermediary Playables. If you have added a lot of mixers or other playables between the timeline and output destroy them here. This is used when rebinding a timeline track at runtime. More...
 
virtual void DisconnectTrack (PlayableNode timelineNode, int trackIndex, ref PlayableConnectionInfo info)
 Use this to cleanly disconnect tracks from their mixers and destroys any intermediary Playables. If you have added a lot of mixers or other playables between the timeline and output destroy them here. This is used when rebinding a timeline track at runtime. More...
 

Additional Inherited Members

- Protected Member Functions inherited from TimelineMixer.TrackProcessor
void ConnectPlayable (PlayableNode mixerNode, PlayableNode timelineNode, int trackIndex, ref PlayableConnectionInfo info)
 Connects the Timeline Playable to a mixer or passthrough and stores information about connections in the PlayableConnectionInfo More...
 

Detailed Description

Processes audio tracks and connects them to the correct mixer on the playable graph. Use the TrackProcessor attribute to set the track type the processor will be in charge of.

Member Function Documentation

◆ DisconnectTrack()

override void TimelineMixer.AudioTrackProcessor.DisconnectTrack ( PlayableNode  timelineNode,
int  trackIndex,
ref PlayableConnectionInfo  info 
)
inlinevirtual

Use this to cleanly disconnect tracks from their mixers and destroys any intermediary Playables. If you have added a lot of mixers or other playables between the timeline and output destroy them here. This is used when rebinding a timeline track at runtime.

Specialized track processors may need to override this method if they involve multiple Playables between the timeline and the mixer. For example:

  • The audio track processor uses an extra AudioMixerPlayable to work around a bug in the Playables API that affects audio mixing.
Parameters
trackIndexThe index of the timeline track to disconnect.

Reimplemented from TimelineMixer.TrackProcessor.