mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 12:19:33 +01:00
make it possible to (and actually do) name insert and send ports as "return" and "send" rather than "in" and "out" (#5012)
git-svn-id: svn://localhost/ardour2/branches/3.0@13052 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
c677de4816
commit
b621b28fce
6 changed files with 27 additions and 16 deletions
|
|
@ -43,7 +43,7 @@ namespace ARDOUR { class Session; }
|
|||
/* create an IOProcessor that proxies to a new IO object */
|
||||
|
||||
IOProcessor::IOProcessor (Session& s, bool with_input, bool with_output,
|
||||
const string& proc_name, const string io_name, DataType dtype)
|
||||
const string& proc_name, const string io_name, DataType dtype, bool sendish)
|
||||
: Processor(s, proc_name)
|
||||
{
|
||||
/* these are true in this constructor whether we actually create the associated
|
||||
|
|
@ -54,11 +54,11 @@ IOProcessor::IOProcessor (Session& s, bool with_input, bool with_output,
|
|||
_own_output = true;
|
||||
|
||||
if (with_input) {
|
||||
_input.reset (new IO(s, io_name.empty() ? proc_name : io_name, IO::Input, dtype));
|
||||
_input.reset (new IO(s, io_name.empty() ? proc_name : io_name, IO::Input, dtype, sendish));
|
||||
}
|
||||
|
||||
if (with_output) {
|
||||
_output.reset (new IO(s, io_name.empty() ? proc_name : io_name, IO::Output, dtype));
|
||||
_output.reset (new IO(s, io_name.empty() ? proc_name : io_name, IO::Output, dtype, sendish));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue