projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
GUI limitation: Require engine to add/remove tracks/busses
[ardour.git]
/
gtk2_ardour
/
io_selector.cc
diff --git
a/gtk2_ardour/io_selector.cc
b/gtk2_ardour/io_selector.cc
index 31f8cfa1cb70d251bbfffda7685addc04c734f0d..99050cc34ba0a5a75c728d2cf1da11cdd6004b1c 100644
(file)
--- a/
gtk2_ardour/io_selector.cc
+++ b/
gtk2_ardour/io_selector.cc
@@
-33,9
+33,10
@@
#include "io_selector.h"
#include "utils.h"
#include "gui_thread.h"
#include "io_selector.h"
#include "utils.h"
#include "gui_thread.h"
-#include "i18n.h"
+#include "
pbd/
i18n.h"
using namespace ARDOUR;
using namespace ARDOUR;
+using namespace ARDOUR_UI_UTILS;
using namespace Gtk;
IOSelector::IOSelector (Gtk::Window* p, ARDOUR::Session* session, boost::shared_ptr<ARDOUR::IO> io)
using namespace Gtk;
IOSelector::IOSelector (Gtk::Window* p, ARDOUR::Session* session, boost::shared_ptr<ARDOUR::IO> io)
@@
-140,15
+141,15
@@
IOSelector::set_state (ARDOUR::BundleChannel c[2], bool s)
return;
}
return;
}
-
if (s) {
+ if (s) {
if (!f->connected_to (*j)) {
_io->connect (f, *j, 0);
}
if (!f->connected_to (*j)) {
_io->connect (f, *j, 0);
}
-
} else {
+ } else {
if (f->connected_to (*j)) {
_io->disconnect (f, *j, 0);
}
if (f->connected_to (*j)) {
_io->disconnect (f, *j, 0);
}
-
}
+ }
}
}
}
}
}
}
@@
-258,7
+259,7
@@
void
IOSelectorWindow::io_name_changed (void*)
{
ENSURE_GUI_THREAD (*this, &IOSelectorWindow::io_name_changed, src)
IOSelectorWindow::io_name_changed (void*)
{
ENSURE_GUI_THREAD (*this, &IOSelectorWindow::io_name_changed, src)
-
+
std::string title;
if (!_selector.find_inputs_for_io_outputs()) {
std::string title;
if (!_selector.find_inputs_for_io_outputs()) {