remove now-unused Route::has_external_redirects()
git-svn-id: svn://localhost/ardour2/branches/3.0@11704 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
0d4825d62e
commit
8e1488c76e
@ -429,7 +429,6 @@ class Route : public SessionObject, public Automatable, public RouteGroupMember,
|
||||
void catch_up_on_solo_mute_override ();
|
||||
void mod_solo_by_others_upstream (int32_t);
|
||||
void mod_solo_by_others_downstream (int32_t);
|
||||
bool has_external_redirects() const;
|
||||
void curve_reallocate ();
|
||||
virtual void set_block_size (pframes_t nframes);
|
||||
|
||||
|
@ -2990,34 +2990,6 @@ Route::silent_roll (pframes_t nframes, framepos_t /*start_frame*/, framepos_t /*
|
||||
return 0;
|
||||
}
|
||||
|
||||
bool
|
||||
Route::has_external_redirects () const
|
||||
{
|
||||
// FIXME: what about sends? - they don't return a signal back to ardour?
|
||||
|
||||
boost::shared_ptr<const PortInsert> pi;
|
||||
|
||||
for (ProcessorList::const_iterator i = _processors.begin(); i != _processors.end(); ++i) {
|
||||
|
||||
if ((pi = boost::dynamic_pointer_cast<const PortInsert>(*i)) != 0) {
|
||||
|
||||
for (PortSet::const_iterator port = pi->output()->ports().begin(); port != pi->output()->ports().end(); ++port) {
|
||||
|
||||
string port_name = port->name();
|
||||
string client_name = port_name.substr (0, port_name.find(':'));
|
||||
|
||||
/* only say "yes" if the redirect is actually in use */
|
||||
|
||||
if (client_name != "ardour" && pi->active()) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
void
|
||||
Route::flush_processors ()
|
||||
{
|
||||
|
@ -3940,12 +3940,6 @@ Session::write_one_track (AudioTrack& track, framepos_t start, framepos_t end,
|
||||
goto out;
|
||||
}
|
||||
|
||||
/* external redirects will be a problem */
|
||||
|
||||
if (track.has_external_redirects()) {
|
||||
goto out;
|
||||
}
|
||||
|
||||
ext = native_header_format_extension (config.get_native_file_header_format(), DataType::AUDIO);
|
||||
|
||||
for (uint32_t chan_n = 0; chan_n < diskstream_channels.n_audio(); ++chan_n) {
|
||||
|
Loading…
Reference in New Issue
Block a user