Remove dead code.
This commit is contained in:
parent
455dc11dc8
commit
2c502795ab
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -124,8 +124,6 @@ public:
|
|||
|
||||
vector<Port> input; /* input ports... */
|
||||
vector<Port> output; /* output ports... */
|
||||
vector<Port*> control_out; /* control ports... */
|
||||
|
||||
|
||||
Playback_DS *playback_ds;
|
||||
Record_DS *record_ds;
|
||||
|
|
Loading…
Reference in New Issue