diff options
Diffstat (limited to 'libs/ardour/ardour/route.h')
-rw-r--r-- | libs/ardour/ardour/route.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libs/ardour/ardour/route.h b/libs/ardour/ardour/route.h index 2c668f6ed7..619e79fafc 100644 --- a/libs/ardour/ardour/route.h +++ b/libs/ardour/ardour/route.h @@ -100,6 +100,13 @@ public: virtual int init (); + DataType data_type () const { + /* XXX ultimately nice to do away with this concept, but it is + quite useful for coders and for users too. + */ + return _default_type; + } + boost::shared_ptr<IO> input() const { return _input; } boost::shared_ptr<IO> output() const { return _output; } IOVector all_inputs () const; |