|
TracktionEngine
|
Holds the state of a Track and if its contents/plugins should be played or not. More...
#include <tracktion_TrackMutingNode.h>
Public Member Functions | |
| TrackMuteState (Track &, bool muteForInputsWhenRecording, bool processMidiWhenMuted) | |
| Creates a TrackMuteState for a Track. | |
| TrackMuteState (Edit &) | |
| Creates a TrackMuteState for an Edit. | |
| void | update () |
| Call once per block to update the mute status. | |
| bool | shouldTrackBeAudible () const |
| Returns true if the track's mix bus should be audible. | |
| bool | shouldTrackContentsBeProcessed () const |
| Returns true if the track's contents should be processed e.g. | |
| bool | shouldTrackMidiBeProcessed () const |
| Returns true if the track's MIDI should be processed to avoid breaks in long notes. | |
| bool | wasJustMuted () const |
| Returns true if the last block was audible but this one isn't. | |
| bool | wasJustUnMuted () const |
| Returns true if the last block wasn't audible but this one is. | |
| size_t | getItemID () const |
| Returns the ID for the relevant item, either the Track or Edit. | |
Holds the state of a Track and if its contents/plugins should be played or not.
| tracktion::engine::TrackMuteState::TrackMuteState | ( | Track & | , |
| bool | muteForInputsWhenRecording, | ||
| bool | processMidiWhenMuted | ||
| ) |
Creates a TrackMuteState for a Track.
| tracktion::engine::TrackMuteState::TrackMuteState | ( | Edit & | ) |
Creates a TrackMuteState for an Edit.
This is used for freeze tracks and will be muted if any other track is soloed.
| void tracktion::engine::TrackMuteState::update | ( | ) |
Call once per block to update the mute status.
| bool tracktion::engine::TrackMuteState::shouldTrackBeAudible | ( | ) | const |
Returns true if the track's mix bus should be audible.
| bool tracktion::engine::TrackMuteState::shouldTrackContentsBeProcessed | ( | ) | const |
Returns true if the track's contents should be processed e.g.
clips and plugins.
| bool tracktion::engine::TrackMuteState::shouldTrackMidiBeProcessed | ( | ) | const |
Returns true if the track's MIDI should be processed to avoid breaks in long notes.
| bool tracktion::engine::TrackMuteState::wasJustMuted | ( | ) | const |
Returns true if the last block was audible but this one isn't.
| bool tracktion::engine::TrackMuteState::wasJustUnMuted | ( | ) | const |
Returns true if the last block wasn't audible but this one is.
| size_t tracktion::engine::TrackMuteState::getItemID | ( | ) | const |