current_value_query (path, len, argv, argc, msg);
ret = 0;
- } else if (strcmp (path, "/strip/listen") == 0) {
+ } else
+ if (!strncmp (path, "/cue/", 5)) {
+
+ //cue_parse (path, types, argv, argc, msg)
+
+ ret = 0;
+ } else
+ if (strcmp (path, "/strip/listen") == 0) {
cerr << "set up listener\n";
ret = 0;
- } else if (strcmp (path, "/strip/ignore") == 0) {
+ } else
+ if (strcmp (path, "/strip/ignore") == 0) {
for (int n = 0; n < argc; ++n) {
if (types[1] && (s->presentation_info().flags() & PresentationInfo::MidiTrack)) {
sorted.push_back (s);
} else
- if (types[2] && (s->presentation_info().flags() & PresentationInfo::AudioBus)) {
- sorted.push_back (s);
+/* if (types[2] && (s->presentation_info().flags() & PresentationInfo::AudioBus)) {
+ sorted.push_back (s); */
+ if ((s->presentation_info().flags() & PresentationInfo::AudioBus)) {
+ boost::shared_ptr<Route> r = boost::dynamic_pointer_cast<Route> (s);
+ // r->feeds (session->master_out()) may make more sense
+ if (r->direct_feeds_according_to_reality (session->master_out())) {
+ // this is a bus
+ if (types[2]) {
+ sorted.push_back (s);
+ }
+ } else {
+ // this is an Aux out
+ if (types[7]) {
+ sorted.push_back (s);
+ }
+ }
} else
if (types[3] && (s->presentation_info().flags() & PresentationInfo::MidiBus)) {
sorted.push_back (s);
sttable->attach (audio_buses, 1, 2, stn, stn+1, AttachOptions(FILL|EXPAND), AttachOptions(0), 0, 0);
++stn;
+ label = manage (new Gtk::Label(_("Audio Auxes:")));
+ label->set_alignment(1, .5);
+ sttable->attach (*label, 0, 1, stn, stn+1, AttachOptions(FILL|EXPAND), AttachOptions(0));
+ sttable->attach (audio_auxes, 1, 2, stn, stn+1, AttachOptions(FILL|EXPAND), AttachOptions(0), 0, 0);
+ ++stn;
+
label = manage (new Gtk::Label(_("Midi Buses:")));
label->set_alignment(1, .5);
sttable->attach (*label, 0, 1, stn, stn+1, AttachOptions(FILL|EXPAND), AttachOptions(0));
audio_tracks.signal_clicked().connect (sigc::mem_fun (*this, &OSC_GUI::set_bitsets));
midi_tracks.signal_clicked().connect (sigc::mem_fun (*this, &OSC_GUI::set_bitsets));
audio_buses.signal_clicked().connect (sigc::mem_fun (*this, &OSC_GUI::set_bitsets));
+ audio_auxes.signal_clicked().connect (sigc::mem_fun (*this, &OSC_GUI::set_bitsets));
midi_buses.signal_clicked().connect (sigc::mem_fun (*this, &OSC_GUI::set_bitsets));
control_masters.signal_clicked().connect (sigc::mem_fun (*this, &OSC_GUI::set_bitsets));
master_type.signal_clicked().connect (sigc::mem_fun (*this, &OSC_GUI::set_bitsets));
if (monitor_type.get_active()) {
stvalue += 64;
}
- /*if (Auditioner_type.get_active()) {
- stvalue += 128; // this one has no user accessable controls
- }*/
+ if (audio_auxes.get_active()) {
+ stvalue += 128;
+ }
if (selected_tracks.get_active()) {
stvalue += 256;
}