Remove dead code.

This commit is contained in:
Jonathan Moore Liles 2008-05-27 19:36:37 -05:00
parent 455dc11dc8
commit 2c502795ab
3 changed files with 0 additions and 17 deletions

View File

@ -47,10 +47,6 @@ Track::update_port_names ( void )
for ( unsigned int i = 0; i < input.size(); ++i ) for ( unsigned int i = 0; i < input.size(); ++i )
input[ i ].name( name(), 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 *\/ */ /* /\* tell any attached control sequences to do the same *\/ */
/* for ( int i = control->children(); i-- ) */ /* for ( int i = control->children(); i-- ) */
/* ((Control_Sequence*)control->child( i ))->update_port_names(); */ /* ((Control_Sequence*)control->child( i ))->update_port_names(); */
@ -166,10 +162,6 @@ Track::process ( nframes_t nframes )
for ( int i = input.size(); i--; ) for ( int i = input.size(); i--; )
input[ i ].silence( nframes ); 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; return 0;
} }

View File

@ -255,13 +255,6 @@ Track::~Track ( )
configure_inputs( 0 ); configure_inputs( 0 );
configure_outputs( 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; _sequence = NULL;
takes = NULL; takes = NULL;
control = NULL; control = NULL;

View File

@ -124,8 +124,6 @@ public:
vector<Port> input; /* input ports... */ vector<Port> input; /* input ports... */
vector<Port> output; /* output ports... */ vector<Port> output; /* output ports... */
vector<Port*> control_out; /* control ports... */
Playback_DS *playback_ds; Playback_DS *playback_ds;
Record_DS *record_ds; Record_DS *record_ds;