diff options
author | David Robillard <d@drobilla.net> | 2009-01-30 20:18:31 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-01-30 20:18:31 +0000 |
commit | aaa91db6d9592684258267981e619b44cc2b7c40 (patch) | |
tree | 01f99e86933d66bd13e3a49992cf19b05b41db28 /libs/ardour/io_processor.cc | |
parent | a384dab13095f3d909e52eff9e6170ae55416601 (diff) |
Trim include dependency graph, especially for io.h and session.h.
Clean up some stuff and other such gruntwork in the process.
git-svn-id: svn://localhost/ardour2/branches/3.0@4468 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/io_processor.cc')
-rw-r--r-- | libs/ardour/io_processor.cc | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/libs/ardour/io_processor.cc b/libs/ardour/io_processor.cc index fb27ba6f54..efa319a85b 100644 --- a/libs/ardour/io_processor.cc +++ b/libs/ardour/io_processor.cc @@ -35,6 +35,7 @@ #include <ardour/send.h> #include <ardour/port_insert.h> #include <ardour/plugin_insert.h> +#include <ardour/io.h> #include "i18n.h" @@ -121,3 +122,34 @@ IOProcessor::silence (nframes_t nframes, nframes_t offset) { _io->silence(nframes, offset); } + +ChanCount +IOProcessor::output_streams() const +{ + return _io->n_outputs(); +} + +ChanCount +IOProcessor::input_streams () const +{ + return _io->n_inputs(); +} + +ChanCount +IOProcessor::natural_output_streams() const +{ + return _io->n_outputs(); +} + +ChanCount +IOProcessor::natural_input_streams () const +{ + return _io->n_inputs(); +} + +void +IOProcessor::automation_snapshot (nframes_t now, bool force) +{ + _io->automation_snapshot(now, force); +} + |