strings.clear ();
strings.push_back (_("None"));
+#ifdef __APPLE__
+ strings.push_back (_("coremidi"));
+#else
strings.push_back (_("seq"));
strings.push_back (_("raw"));
+#endif
set_popdown_strings (midi_driver_combo, strings);
midi_driver_combo.set_active_text (strings.front ());
cmd.push_back ("-T"); // temporary */
+ /* setup coremidi before the driver, otherwise jack won't start */
+
+ if (midi_driver_combo.get_active_text() == _("coremidi")) {
+ cmd.push_back ("-X coremidi");
+ }
+
/* next the driver */
cmd.push_back ("-d");
if (devs.size() == 0) {
- MessageDialog msg (_("\
+ MessageDialog msg (string_compose (_("\
You do not have any audio devices capable of\n\
simultaneous playback and recording.\n\n\
Please use Applications -> Utilities -> Audio MIDI Setup\n\
have no duplex audio device.\n\n\
Alternatively, if you really want just playback\n\
or recording but not both, start JACK before running\n\
-Ardour and choose the relevant device then."
- ),
+%1 and choose the relevant device then."
+ ), PROGRAM_NAME),
true, Gtk::MESSAGE_ERROR, Gtk::BUTTONS_OK);
msg.set_title (_("No suitable audio devices"));
msg.set_position (Gtk::WIN_POS_MOUSE);