diff options
Diffstat (limited to 'libs/ardour/io_processor.cc')
-rw-r--r-- | libs/ardour/io_processor.cc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libs/ardour/io_processor.cc b/libs/ardour/io_processor.cc index d1b7e9c232..877e0422fa 100644 --- a/libs/ardour/io_processor.cc +++ b/libs/ardour/io_processor.cc @@ -146,6 +146,10 @@ IOProcessor::state (bool full_state) int IOProcessor::set_state (const XMLNode& node, int version) { + if (version < 3000) { + return set_state_2X (node, version); + } + const XMLProperty *prop; const XMLNode *io_node = 0; @@ -227,6 +231,16 @@ IOProcessor::set_state (const XMLNode& node, int version) return 0; } +int +IOProcessor::set_state_2X (const XMLNode& node, int version) +{ + _own_input = _own_output = true; + + Processor::set_state_2X (node, version); + + return 0; +} + void IOProcessor::silence (nframes_t nframes) { |