mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-30 17:03:06 +01:00
Fix Bundle I/O direction
With bundles `ports_are_inputs()` indicates inputs that Ardour can write to (data sinks, for playback). BundleEditor::input_or_output_changed () set this correctly.
This commit is contained in:
parent
1ae8ebf7c0
commit
739ee688bf
1 changed files with 2 additions and 2 deletions
|
|
@ -209,9 +209,9 @@ BundleEditor::BundleEditor (Session* session, boost::shared_ptr<UserBundle> bund
|
|||
_input_or_output.append_text (_("Source"));
|
||||
|
||||
if (bundle->ports_are_inputs()) {
|
||||
_input_or_output.set_active_text (_("Source"));
|
||||
} else {
|
||||
_input_or_output.set_active_text (_("Destination"));
|
||||
} else {
|
||||
_input_or_output.set_active_text (_("Source"));
|
||||
}
|
||||
|
||||
_input_or_output.signal_changed().connect (sigc::mem_fun (*this, &BundleEditor::input_or_output_changed));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue