")
));
builtin_types.push_back (
- std::pair<string,string>(_("Listen Busses"), _(" \
-Use the settings, below, to create new Listen Busses.\n \
-Listen Busses are used as master outputs for monitor channels which are fed by\n \
+ std::pair<string,string>(_("Foldback Busses"), _(" \
+Use the settings, below, to create new Foldback Busses.\n \
+Foldback Busses are used as master outputs for monitor channels which are fed by\n \
hidden monitor sends.\n \
\n\n \
You may select:\n \
-* The number of Listen Busses to add.\n \
-* A name for the new Listen Busses.\n \
+* The number of Foldback Busses to add.\n \
+* A name for the new Foldback Busses.\n \
")
));
}
return AudioTrack;
} else if (str == _("VCA Masters")) {
return VCAMaster;
- } else if (str == _("Listen Busses")) {
- return ListenBus;
+ } else if (str == _("Foldback Busses")) {
+ return FoldbackBus;
} else {
assert (0);
return AudioTrack;
case MidiBus:
name_template_entry.set_text (_("Bus"));
break;
- case ListenBus:
- name_template_entry.set_text (_("Listener"));
+ case FoldbackBus:
+ name_template_entry.set_text (_("Foldback"));
break;
case VCAMaster:
name_template_entry.set_text (VCA::default_name_template());
insert_at_combo.set_sensitive (true);
break;
- case ListenBus:
+ case FoldbackBus:
configuration_label.set_sensitive (false);
channel_combo.set_sensitive (false);
ret.set (DataType::MIDI, 1);
break;
- case ListenBus:
+ case FoldbackBus:
ret.set (DataType::AUDIO, 2);
ret.set (DataType::MIDI, 0);
break;
AudioBus,
MidiBus,
VCAMaster,
- ListenBus,
+ FoldbackBus,
};
TypeWanted type_wanted();
}
void
-ARDOUR_UI::session_add_listen_bus (uint32_t how_many, string const & name_template)
+ARDOUR_UI::session_add_foldback_bus (uint32_t how_many, string const & name_template)
{
RouteList routes;
assert (_session);
try {
- routes = _session->new_audio_route (2, 2, 0, how_many, name_template, PresentationInfo::ListenBus, -1);
+ routes = _session->new_audio_route (2, 2, 0, how_many, name_template, PresentationInfo::FoldbackBus, -1);
if (routes.size() != how_many) {
- error << string_compose (P_("could not create %1 new listen bus", "could not create %1 new listen busses", how_many), how_many)
+ error << string_compose (P_("could not create %1 new foldback bus", "could not create %1 new foldback busses", how_many), how_many)
<< endmsg;
}
}
case AddRouteDialog::VCAMaster:
_session->vca_manager().create_vca (count, name_template);
break;
- case AddRouteDialog::ListenBus:
- session_add_listen_bus (count, name_template);
+ case AddRouteDialog::FoldbackBus:
+ session_add_foldback_bus (count, name_template);
break;
}
}
ARDOUR::PluginInfoPtr, ARDOUR::Plugin::PresetRecord*,
ARDOUR::PresentationInfo::order_t order);
- void session_add_listen_bus (uint32_t, std::string const &);
+ void session_add_foldback_bus (uint32_t, std::string const &);
void display_insufficient_ports_message ();
return 0;
}
- if (_route->is_monitor () || _route->is_listenbus ()) {
+ if (_route->is_monitor () || _route->is_foldbackbus ()) {
return 0;
}
/* don't allow sending to master or monitor or to self */
continue;
}
- if ((*r)->is_listenbus ()) {
+ if ((*r)->is_foldbackbus ()) {
continue;
}
if (_route->internal_send_for (*r)) {
return 0;
}
- if (_route->is_monitor () || _route->is_listenbus ()) {
+ if (_route->is_monitor () || _route->is_foldbackbus ()) {
return 0;
}
/* don't allow sending to master or monitor or to self */
continue;
}
- if (!(*r)->is_listenbus ()) {
+ if (!(*r)->is_foldbackbus ()) {
continue;
}
if (_route->internal_send_for (*r)) {
return 0;
}
- if (_route->is_monitor () || _route->is_listenbus ()) {
+ if (_route->is_monitor () || _route->is_foldbackbus ()) {
return 0;
}
/* don't allow sending to master or monitor or to self */
continue;
}
- if (!(*r)->is_listenbus ()) {
+ if (!(*r)->is_foldbackbus ()) {
continue;
}
if (!_route->internal_send_for (*r)) {
}
}
- ActionManager::get_action (X_("ProcessorMenu"), "newinsert")->set_sensitive (!_route->is_monitor () && !_route->is_listenbus ());
- ActionManager::get_action (X_("ProcessorMenu"), "newsend")->set_sensitive (!_route->is_monitor () && !_route->is_listenbus ());
+ ActionManager::get_action (X_("ProcessorMenu"), "newinsert")->set_sensitive (!_route->is_monitor () && !_route->is_foldbackbus ());
+ ActionManager::get_action (X_("ProcessorMenu"), "newsend")->set_sensitive (!_route->is_monitor () && !_route->is_foldbackbus ());
ProcessorEntry* single_selection = 0;
if (processor_display.selection().size() == 1) {
return;
}
- if (target->is_listenbus ()) {
+ if (target->is_foldbackbus ()) {
_route->add_foldback_send (target);
} else {
_session->add_internal_send (target, _placement, _route);
/* single bit indicates that the group order is set */
OrderSet = 0x400,
/* bus type for monitor mixes */
- ListenBus = 0x2000,
+ FoldbackBus = 0x2000,
/* special mask to delect out "state" bits */
StatusMask = (Hidden),
/* special mask to delect select type bits */
- TypeMask = (AudioBus|AudioTrack|MidiTrack|MidiBus|VCA|MasterOut|MonitorOut|Auditioner|ListenBus)
+ TypeMask = (AudioBus|AudioTrack|MidiTrack|MidiBus|VCA|MasterOut|MonitorOut|Auditioner|FoldbackBus)
};
static const Flag AllStripables; /* mask to use for any route or VCA (but not auditioner) */
- static const Flag MixerStripables; /* mask to use for any route or VCA (but not auditioner or Listenbus) */
+ static const Flag MixerStripables; /* mask to use for any route or VCA (but not auditioner or foldbackbus) */
static const Flag AllRoutes; /* mask to use for any route include master+monitor, but not auditioner */
- static const Flag MixerRoutes; /* mask to use for any route include master+monitor, but not auditioner or ListenBus*/
+ static const Flag MixerRoutes; /* mask to use for any route include master+monitor, but not auditioner or foldbackbus*/
static const Flag Route; /* mask for any route (bus or track */
static const Flag Track; /* mask to use for any track */
static const Flag Bus; /* mask to use for any bus */
bool is_private_route() const { return is_auditioner(); }
bool is_master() const { return _presentation_info.flags() & PresentationInfo::MasterOut; }
bool is_monitor() const { return _presentation_info.flags() & PresentationInfo::MonitorOut; }
- bool is_listenbus() const { return _presentation_info.flags() & PresentationInfo::ListenBus; }
+ bool is_foldbackbus() const { return _presentation_info.flags() & PresentationInfo::FoldbackBus; }
int set_state (XMLNode const&, int);
REGISTER_CLASS_ENUM (PresentationInfo, Auditioner);
REGISTER_CLASS_ENUM (PresentationInfo, Hidden);
REGISTER_CLASS_ENUM (PresentationInfo, OrderSet);
- REGISTER_CLASS_ENUM (PresentationInfo, ListenBus);
+ REGISTER_CLASS_ENUM (PresentationInfo, FoldbackBus);
REGISTER_BITS (_PresentationInfo_Flag);
REGISTER_CLASS_ENUM (MusicalMode,Dorian);
const PresentationInfo::Flag PresentationInfo::Bus = PresentationInfo::Flag (PresentationInfo::AudioBus|PresentationInfo::MidiBus);
const PresentationInfo::Flag PresentationInfo::Track = PresentationInfo::Flag (PresentationInfo::AudioTrack|PresentationInfo::MidiTrack);
const PresentationInfo::Flag PresentationInfo::Route = PresentationInfo::Flag (PresentationInfo::Bus|PresentationInfo::Track);
-const PresentationInfo::Flag PresentationInfo::AllRoutes = PresentationInfo::Flag (PresentationInfo::Route|PresentationInfo::MasterOut|PresentationInfo::MonitorOut|PresentationInfo::ListenBus);
+const PresentationInfo::Flag PresentationInfo::AllRoutes = PresentationInfo::Flag (PresentationInfo::Route|PresentationInfo::MasterOut|PresentationInfo::MonitorOut|PresentationInfo::FoldbackBus);
const PresentationInfo::Flag PresentationInfo::MixerRoutes = PresentationInfo::Flag (PresentationInfo::Route|PresentationInfo::MasterOut|PresentationInfo::MonitorOut);
const PresentationInfo::Flag PresentationInfo::AllStripables = PresentationInfo::Flag (PresentationInfo::AllRoutes|PresentationInfo::VCA);
const PresentationInfo::Flag PresentationInfo::MixerStripables = PresentationInfo::Flag (PresentationInfo::MixerRoutes|PresentationInfo::VCA);
StateProtector sp (this);
if (Profile->get_trx()) {
add_routes (ret, false, false, false, order);
- } else if (flags == PresentationInfo::ListenBus) {
+ } else if (flags == PresentationInfo::FoldbackBus) {
add_routes (ret, false, false, true, order); // no autoconnect
} else {
add_routes (ret, false, true, true, order); // autoconnect // outputs only
}
int
-OSC::sel_new_personal_send (char *listener, lo_message msg)
+OSC::sel_new_personal_send (char *foldback, lo_message msg)
{
OSCSurface *sur = get_surface(get_address (msg));
boost::shared_ptr<Stripable> s;
return -1;
}
}
- /* if a listenbus called listener exists use it
- * other wise create create it. Then create a personal send from
+ /* if a foldbackbus called foldback exists use it
+ * other wise create create it. Then create a foldback send from
* this route to that bus.
*/
- string listenbus = listener;
- string listen_name = listenbus;
- if (listenbus.find ("- monitor") == string::npos) {
- listen_name = string_compose ("%1 - monitor", listenbus);
+ string foldbackbus = foldback;
+ string foldback_name = foldbackbus;
+ if (foldbackbus.find ("- monitor") == string::npos) {
+ foldback_name = string_compose ("%1 - monitor", foldbackbus);
}
- boost::shared_ptr<Route> lsn_rt = session->route_by_name (listen_name);
+ boost::shared_ptr<Route> lsn_rt = session->route_by_name (foldback_name);
if (!lsn_rt) {
- // doesn't exist but check if raw name does and is listenbus
- boost::shared_ptr<Route> raw_rt = session->route_by_name (listenbus);
- if (raw_rt && raw_rt->is_listenbus()) {
+ // doesn't exist but check if raw name does and is foldbackbus
+ boost::shared_ptr<Route> raw_rt = session->route_by_name (foldbackbus);
+ if (raw_rt && raw_rt->is_foldbackbus()) {
lsn_rt = raw_rt;
} else {
- // create the listenbus
- RouteList list = session->new_audio_route (2, 2, 0, 1, listen_name, PresentationInfo::ListenBus, (uint32_t) -1);
+ // create the foldbackbus
+ RouteList list = session->new_audio_route (2, 2, 0, 1, foldback_name, PresentationInfo::FoldbackBus, (uint32_t) -1);
lsn_rt = *(list.begin());
lsn_rt->presentation_info().set_hidden (true);
session->set_dirty();
PBD::warning << "OSC: new_send - can't send to self." << endmsg;
}
} else {
- PBD::warning << "OSC: new_send - no ListenBus to send to." << endmsg;
+ PBD::warning << "OSC: new_send - no FoldbackBus to send to." << endmsg;
}
return -1;
sorted.push_back (s);
} else if (types[4] && boost::dynamic_pointer_cast<VCA>(s)) {
sorted.push_back (s);
- } else if (s->is_listenbus()) {
+ } else if (s->is_foldbackbus()) {
if (types[7]) {
sorted.push_back (s);
}
RouteList list;
boost::shared_ptr<Stripable> aux;
name = string_compose ("%1 - monitor", name);
- list = session->new_audio_route (2, 2, 0, 1, name, PresentationInfo::ListenBus, (uint32_t) -1);
+ list = session->new_audio_route (2, 2, 0, 1, name, PresentationInfo::FoldbackBus, (uint32_t) -1);
aux = *(list.begin());
if (aux) {
boost::shared_ptr<Route> r = boost::dynamic_pointer_cast<Route>(aux);