NO-OP: whitespace
This commit is contained in:
parent
83d54e79d3
commit
d35ee75c77
@ -1,6 +1,6 @@
|
||||
#include <iostream>
|
||||
#include <cstdlib>
|
||||
#include <getopt.h>
|
||||
#include <iostream>
|
||||
|
||||
#ifndef PLATFORM_WINDOWS
|
||||
#include <signal.h>
|
||||
@ -10,9 +10,9 @@
|
||||
|
||||
#include "pbd/convert.h"
|
||||
#include "pbd/crossthread.h"
|
||||
#include "pbd/failed_constructor.h"
|
||||
#include "pbd/error.h"
|
||||
#include "pbd/debug.h"
|
||||
#include "pbd/error.h"
|
||||
#include "pbd/failed_constructor.h"
|
||||
|
||||
#include "ardour/ardour.h"
|
||||
#include "ardour/audioengine.h"
|
||||
@ -86,7 +86,9 @@ engine_halted (const char* reason)
|
||||
}
|
||||
|
||||
#ifndef PLATFORM_WINDOWS
|
||||
static void wearedone (int) {
|
||||
static void
|
||||
wearedone (int)
|
||||
{
|
||||
cerr << "caught signal - terminating." << endl;
|
||||
xthread.deliver ('x');
|
||||
}
|
||||
@ -126,10 +128,12 @@ print_help ()
|
||||
;
|
||||
}
|
||||
|
||||
int main (int argc, char* argv[])
|
||||
int
|
||||
main (int argc, char* argv[])
|
||||
{
|
||||
const char* optstring = "vhBdD:c:VOU:P";
|
||||
|
||||
/* clang-format off */
|
||||
const struct option longopts[] = {
|
||||
{ "version", no_argument, 0, 'v' },
|
||||
{ "help", no_argument, 0, 'h' },
|
||||
@ -142,13 +146,13 @@ int main (int argc, char* argv[])
|
||||
{ "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));
|
||||
|
||||
|
||||
int c;
|
||||
while ((c = getopt_long (argc, argv, optstring, longopts, (int*)0)) != EOF) {
|
||||
switch (c) {
|
||||
@ -209,7 +213,8 @@ int main (int argc, char* argv[])
|
||||
}
|
||||
|
||||
if (!ARDOUR::init (use_vst, try_hw_optimization, localedir)) {
|
||||
cerr << "Ardour failed to initialize\n" << endl;
|
||||
cerr << "Ardour failed to initialize\n"
|
||||
<< endl;
|
||||
exit (EXIT_FAILURE);
|
||||
}
|
||||
|
||||
@ -253,7 +258,8 @@ int main (int argc, char* argv[])
|
||||
s->request_transport_speed (1.0);
|
||||
|
||||
char msg;
|
||||
do {} while (0 == xthread.receive (msg, true));
|
||||
do {
|
||||
} while (0 == xthread.receive (msg, true));
|
||||
|
||||
AudioEngine::instance ()->remove_session ();
|
||||
delete s;
|
||||
|
Loading…
Reference in New Issue
Block a user