diff options
author | Ben Loftis <ben@harrisonconsoles.com> | 2018-02-11 09:39:36 -0600 |
---|---|---|
committer | Ben Loftis <ben@harrisonconsoles.com> | 2018-02-11 09:39:36 -0600 |
commit | e6da4c4846cd3097e2393f0e43016b870e7cf592 (patch) | |
tree | f54b4f56ab2b39a4c91bb5e6e0141031b8731566 /libs/ardour/route.cc | |
parent | 11e50fe0c5f441f8d017529a62ac4c8eeb6403c2 (diff) |
SoloSelection: libardour part.
Diffstat (limited to 'libs/ardour/route.cc')
-rw-r--r-- | libs/ardour/route.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index ee31b2a4e7..2c3c14c940 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -5041,7 +5041,11 @@ Route::the_instrument_unlocked () const return boost::shared_ptr<Processor>(); } - +bool +Route::is_track() +{ + return dynamic_cast<Track*>(this) != 0; +} void Route::non_realtime_locate (samplepos_t pos) |