mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Do not implicitly modify VST support config parameters
This commit is contained in:
parent
7c45502f46
commit
16da5419d3
14 changed files with 14 additions and 33 deletions
|
|
@ -149,7 +149,7 @@ print_help ()
|
|||
int
|
||||
main (int argc, char* argv[])
|
||||
{
|
||||
const char* optstring = "vhBdD:c:VOU:P";
|
||||
const char* optstring = "vhBdD:c:OU:P";
|
||||
|
||||
/* clang-format off */
|
||||
const struct option longopts[] = {
|
||||
|
|
@ -159,14 +159,12 @@ main (int argc, char* argv[])
|
|||
{ "disable-plugins", no_argument, 0, 'd' },
|
||||
{ "debug", required_argument, 0, 'D' },
|
||||
{ "name", required_argument, 0, 'c' },
|
||||
{ "novst", no_argument, 0, 'V' },
|
||||
{ "no-hw-optimizations", no_argument, 0, 'O' },
|
||||
{ "no-connect-ports", no_argument, 0, 'P' },
|
||||
{ 0, 0, 0, 0 }
|
||||
};
|
||||
/* clang-format on */
|
||||
|
||||
bool use_vst = true;
|
||||
bool try_hw_optimization = true;
|
||||
|
||||
backend_client_name = PBD::downcase (std::string (PROGRAM_NAME));
|
||||
|
|
@ -213,12 +211,6 @@ main (int argc, char* argv[])
|
|||
ARDOUR::Port::set_connecting_blocked (true);
|
||||
break;
|
||||
|
||||
case 'V':
|
||||
#ifdef WINDOWS_VST_SUPPORT
|
||||
use_vst = false;
|
||||
#endif /* WINDOWS_VST_SUPPORT */
|
||||
break;
|
||||
|
||||
default:
|
||||
print_help ();
|
||||
exit (EXIT_FAILURE);
|
||||
|
|
@ -230,7 +222,7 @@ main (int argc, char* argv[])
|
|||
exit (EXIT_FAILURE);
|
||||
}
|
||||
|
||||
if (!ARDOUR::init (use_vst, try_hw_optimization, localedir)) {
|
||||
if (!ARDOUR::init (try_hw_optimization, localedir)) {
|
||||
cerr << "Ardour failed to initialize\n"
|
||||
<< endl;
|
||||
exit (EXIT_FAILURE);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue