diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-08-14 12:40:10 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-08-14 12:40:10 -0400 |
commit | 8d8770f4ccd4d4d5a7731b6cd0ac28ce40ba00d0 (patch) | |
tree | 6f1c7d64f99a2cf5142ad2ca3f58f26b4bf9c0d5 /libs | |
parent | 7b34b6a3f6ec6920bf4718a878e3aea7011851ab (diff) |
remove JACK midi system stuff from jack_utils, because we're not going to use it (for a while, at least)
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/ardour/jack_utils.h | 10 | ||||
-rw-r--r-- | libs/ardour/jack_utils.cc | 31 |
2 files changed, 3 insertions, 38 deletions
diff --git a/libs/ardour/ardour/jack_utils.h b/libs/ardour/ardour/jack_utils.h index 169dc12580..bc94da3361 100644 --- a/libs/ardour/ardour/jack_utils.h +++ b/libs/ardour/ardour/jack_utils.h @@ -46,16 +46,6 @@ namespace ARDOUR { void get_jack_default_audio_driver_name (std::string& driver_name); /** - * Get a list of possible JACK midi driver names based on platform - */ - void get_jack_midi_system_names (const std::string& driver, std::vector<std::string>& driver_names); - - /** - * Get the default JACK midi driver based on platform - */ - void get_jack_default_midi_system_name (const std::string& driver_name, std::string& midi_system); - - /** * Get a list of possible samplerates supported be JACK */ void get_jack_sample_rate_strings (std::vector<std::string>& sample_rates); diff --git a/libs/ardour/jack_utils.cc b/libs/ardour/jack_utils.cc index b4446501bc..c16270b261 100644 --- a/libs/ardour/jack_utils.cc +++ b/libs/ardour/jack_utils.cc @@ -130,32 +130,6 @@ ARDOUR::get_jack_default_audio_driver_name (string& audio_driver_name) } void -ARDOUR::get_jack_midi_system_names (const string& driver, vector<string>& midi_system_names) -{ - midi_system_names.push_back (get_none_string ()); -#ifdef WIN32 - midi_system_names.push_back (winmme_midi_driver_name); -#elif __APPLE__ - midi_system_names.push_back (coreaudio_midi_driver_name); -#else -#ifdef HAVE_ALSA - if (driver == alsa_driver_name) { - midi_system_names.push_back (alsaseq_midi_driver_name); - midi_system_names.push_back (alsaraw_midi_driver_name); - } -#endif -#endif -} - -void -ARDOUR::get_jack_default_midi_system_name (const string& driver, string& midi_system_name) -{ - vector<string> drivers; - get_jack_midi_system_names (driver, drivers); - midi_system_name = drivers.front (); -} - -void ARDOUR::get_jack_sample_rate_strings (vector<string>& samplerates) { // do these really need to be translated? @@ -584,7 +558,7 @@ ARDOUR::set_path_env_for_jack_autostart (const vector<std::string>& dirs) #ifdef __APPLE__ // push it back into the environment so that auto-started JACK can find it. // XXX why can't we just expect OS X users to have PATH set correctly? we can't ... - setenv ("PATH", SearchPath(dirs).to_string(), 1); + setenv ("PATH", SearchPath(dirs).to_string().c_str(), 1); #else /* silence a compiler unused variable warning */ (void) dirs; @@ -636,7 +610,8 @@ ARDOUR::get_jack_server_paths (const vector<std::string>& server_dir_paths, vector<std::string>& server_paths) { for (vector<string>::const_iterator i = server_names.begin(); i != server_names.end(); ++i) { - find_matching_files_in_directories (server_dir_paths, Glib::PatternSpec(*i), server_paths); + Glib::PatternSpec ps (*i); + find_matching_files_in_directories (server_dir_paths, ps, server_paths); } return !server_paths.empty(); } |