waveforms: moved waveform to track rather than block

This is a much more robust and thread-safe system of storing the waveforms.
This commit is contained in:
itsmattkc
2020-06-04 18:03:21 +10:00
parent 9ff9817b95
commit 0e87762afa
19 changed files with 184 additions and 336 deletions
+2 -7
View File
@@ -63,12 +63,7 @@ const Timeline::TrackType& TrackOutput::track_type() const
return track_type_;
}
Block::Type TrackOutput::type() const
{
return kClip;
}
Block *TrackOutput::copy() const
Node *TrackOutput::copy() const
{
return new TrackOutput();
}
@@ -116,7 +111,7 @@ void TrackOutput::SetTrackHeight(const int &height)
void TrackOutput::Retranslate()
{
Block::Retranslate();
Node::Retranslate();
block_input_->set_name(tr("Blocks"));
muted_input_->set_name(tr("Muted"));