When writing '.jackdrc' make sure we enclose any device names in quotation marks
(in Windows, device names almost always contain whitespace)
This commit is contained in:
parent
fd50cf14dd
commit
5626ea2b1f
@ -855,9 +855,9 @@ ARDOUR::get_jack_command_line_string (JackCommandLineOptions& options, string& c
|
|||||||
// capture and playback on two devices if supported
|
// capture and playback on two devices if supported
|
||||||
if (get_jack_audio_driver_supports_two_devices (options.driver)) {
|
if (get_jack_audio_driver_supports_two_devices (options.driver)) {
|
||||||
args.push_back ("-C");
|
args.push_back ("-C");
|
||||||
args.push_back (command_line_input_device_name);
|
args.push_back (quote_string (command_line_input_device_name));
|
||||||
args.push_back ("-P");
|
args.push_back ("-P");
|
||||||
args.push_back (command_line_output_device_name);
|
args.push_back (quote_string (command_line_output_device_name));
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@ -910,7 +910,7 @@ ARDOUR::get_jack_command_line_string (JackCommandLineOptions& options, string& c
|
|||||||
if (options.driver != dummy_driver_name) {
|
if (options.driver != dummy_driver_name) {
|
||||||
if (options.input_device == options.output_device && options.input_device != default_device_name) {
|
if (options.input_device == options.output_device && options.input_device != default_device_name) {
|
||||||
args.push_back ("-d");
|
args.push_back ("-d");
|
||||||
args.push_back (command_line_input_device_name);
|
args.push_back (quote_string (command_line_input_device_name));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user