AU: remove cruft, fix parameter initialization
[ardour.git] / libs / ardour / ardour / jack_utils.h
index 7565353198d76a1e99547551b9220fee01ad5c27..40eb30f9ea9c7a18802be6b69690cc713e156c33 100644 (file)
@@ -45,6 +45,16 @@ 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
         */
@@ -93,6 +103,11 @@ namespace ARDOUR {
         */
        std::string get_jack_latency_string (std::string samplerate, float periods, std::string period_size);
 
+       /**
+        * @return true if a JACK server is running
+        */
+       bool jack_server_running ();
+
        /**
         * Key being a readable name to display in a GUI
         * Value being name used in a jack commandline
@@ -216,8 +231,6 @@ namespace ARDOUR {
                uint32_t         num_periods;
                uint32_t         period_size;
                uint32_t         samplerate;
-               uint32_t         input_channels;
-               uint32_t         output_channels;
                uint32_t         input_latency;
                uint32_t         output_latency;
                bool             hardware_metering;
@@ -232,4 +245,9 @@ namespace ARDOUR {
         * @return true if able to build a valid command line based on options
         */
        bool get_jack_command_line_string (const JackCommandLineOptions& options, std::string& command_line);
+
+       /**
+        * We don't need this at the moment because the gui stores all its settings
+        */
+       //std::string get_jack_command_line_from_config_file (const std::string& config_file_path);
 }