Fix indentation

This commit is contained in:
Michał Szymański 2014-07-27 10:07:26 +02:00
parent ce825c6a6b
commit ab603e4333
1 changed files with 22 additions and 22 deletions

View File

@ -17,28 +17,28 @@ static int reorder = 0;
static int Jack_Graph_Order_Callback(void *arg)
{
const char **ports;
int i;
const char **ports;
int i;
printf("Jack_Graph_Order_Callback count = %d\n", reorder++);
printf("Jack_Graph_Order_Callback count = %d\n", reorder++);
ports = jack_get_ports(client, NULL, NULL, JackPortIsPhysical|JackPortIsOutput);
if (ports) {
for (i = 0; ports[i]; ++i) {
printf("name: %s\n", ports[i]);
}
jack_free(ports);
}
ports = jack_get_ports(client, NULL, NULL, JackPortIsPhysical|JackPortIsOutput);
if (ports) {
for (i = 0; ports[i]; ++i) {
printf("name: %s\n", ports[i]);
}
jack_free(ports);
}
ports = jack_get_ports(client, NULL, NULL, JackPortIsPhysical|JackPortIsInput);
if (ports) {
for (i = 0; ports[i]; ++i) {
printf("name: %s\n", ports[i]);
}
jack_free(ports);
}
ports = jack_get_ports(client, NULL, NULL, JackPortIsPhysical|JackPortIsInput);
if (ports) {
for (i = 0; ports[i]; ++i) {
printf("name: %s\n", ports[i]);
}
jack_free(ports);
}
return 0;
return 0;
}
int
@ -56,8 +56,8 @@ main (int argc, char *argv[])
}
if (jack_set_graph_order_callback(client, Jack_Graph_Order_Callback, 0) != 0) {
printf("Error when calling jack_set_graph_order_callback() !\n");
}
printf("Error when calling jack_set_graph_order_callback() !\n");
}
/* Tell the JACK server that we are ready to roll. Our
* process() callback will start running now. */
@ -67,8 +67,8 @@ main (int argc, char *argv[])
exit(1);
}
printf("Type 'q' to quit\n");
while ((getchar() != 'q')) {}
printf("Type 'q' to quit\n");
while ((getchar() != 'q')) {}
jack_client_close(client);
exit (0);