From 2c502795abc222fddc9c20f5d2317c1776388451 Mon Sep 17 00:00:00 2001 From: Jonathan Moore Liles Date: Tue, 27 May 2008 19:36:37 -0500 Subject: [PATCH] Remove dead code. --- Timeline/Engine/Track.C | 8 -------- Timeline/Track.C | 7 ------- Timeline/Track.H | 2 -- 3 files changed, 17 deletions(-) diff --git a/Timeline/Engine/Track.C b/Timeline/Engine/Track.C index 99b7479..d234905 100644 --- a/Timeline/Engine/Track.C +++ b/Timeline/Engine/Track.C @@ -47,10 +47,6 @@ Track::update_port_names ( void ) for ( unsigned int i = 0; i < input.size(); ++i ) input[ i ].name( name(), i ); - for ( unsigned int i = 0; i < control_out.size(); ++i ) - control_out[ i ]->name( name(), i, "cv" ); - - /* /\* tell any attached control sequences to do the same *\/ */ /* for ( int i = control->children(); i-- ) */ /* ((Control_Sequence*)control->child( i ))->update_port_names(); */ @@ -166,10 +162,6 @@ Track::process ( nframes_t nframes ) for ( int i = input.size(); i--; ) input[ i ].silence( nframes ); - /* FIXME: is this really the right thing to do for control ports? */ - for ( int i = control_out.size(); i--; ) - control_out[ i ]->silence( nframes ); - return 0; } diff --git a/Timeline/Track.C b/Timeline/Track.C index bb8f52c..21f23d8 100644 --- a/Timeline/Track.C +++ b/Timeline/Track.C @@ -255,13 +255,6 @@ Track::~Track ( ) configure_inputs( 0 ); configure_outputs( 0 ); - /* controls too */ - for ( int i = control_out.size(); i--; ) - { - control_out.back()->shutdown(); - delete control_out.back(); - control_out.pop_back(); - } _sequence = NULL; takes = NULL; control = NULL; diff --git a/Timeline/Track.H b/Timeline/Track.H index a08e938..8bb66b6 100644 --- a/Timeline/Track.H +++ b/Timeline/Track.H @@ -124,8 +124,6 @@ public: vector input; /* input ports... */ vector output; /* output ports... */ - vector control_out; /* control ports... */ - Playback_DS *playback_ds; Record_DS *record_ds;