summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Brand <tom@trellis.ch>2019-02-20 20:44:38 +0100
committerThomas Brand <tom@trellis.ch>2019-02-20 20:44:38 +0100
commitc8af61825caf931af339ed565bec0e9b8aabaa40 (patch)
tree671290a47906f2444b501f3db7d6b6fea6a2698f
parent09f92317a6f268f831235bb8e2e3501781e27b6d (diff)
downloadjack2-c8af61825caf931af339ed565bec0e9b8aabaa40.tar.gz
NO-OP: tabs vs. spaces indentation
-rw-r--r--example-clients/metro.c36
1 files changed, 18 insertions, 18 deletions
diff --git a/example-clients/metro.c b/example-clients/metro.c
index 8240b40c..229eca10 100644
--- a/example-clients/metro.c
+++ b/example-clients/metro.c
@@ -94,14 +94,14 @@ process_audio (jack_nframes_t nframes)
offset += frames_left;
}
- /*
- jack_nframes_t cur_time = jack_frame_time(client);
- jack_time_t cur_micro_time = jack_get_time();
-
- printf("jack_frame_time %lld micro %lld delta %d\n", cur_time, (cur_micro_time - last_micro_time), cur_time - last_time);
- last_time = cur_time;
- last_micro_time = cur_micro_time;
- */
+ /*
+ jack_nframes_t cur_time = jack_frame_time(client);
+ jack_time_t cur_micro_time = jack_get_time();
+
+ printf("jack_frame_time %lld micro %lld delta %d\n", cur_time, (cur_micro_time - last_micro_time), cur_time - last_time);
+ last_time = cur_time;
+ last_micro_time = cur_micro_time;
+ */
}
static int
@@ -272,10 +272,10 @@ main (int argc, char *argv[])
goto error;
}
- /* install a signal handler to properly quits jack client */
+ /* install a signal handler to properly quits jack client */
#ifdef WIN32
signal(SIGINT, signal_handler);
- signal(SIGABRT, signal_handler);
+ signal(SIGABRT, signal_handler);
signal(SIGTERM, signal_handler);
#else
signal(SIGQUIT, signal_handler);
@@ -284,19 +284,19 @@ main (int argc, char *argv[])
signal(SIGINT, signal_handler);
#endif
- /* run until interrupted */
+ /* run until interrupted */
while (1) {
- #ifdef WIN32
+#ifdef WIN32
Sleep(1000);
- #else
+#else
sleep(1);
- #endif
+#endif
};
- jack_client_close(client);
+ jack_client_close(client);
error:
- free(amp);
- free(wave);
- exit (0);
+ free(amp);
+ free(wave);
+ exit (0);
}