changeset 36202:53cb51bbc317

Cosmetics: fix indentation.
author reimar
date Mon, 03 Jun 2013 17:38:06 +0000
parents fe3993b42091
children 553275f5565f
files libao2/ao_jack.c
diffstat 1 files changed, 10 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/libao2/ao_jack.c	Mon Jun 03 17:38:04 2013 +0000
+++ b/libao2/ao_jack.c	Mon Jun 03 17:38:06 2013 +0000
@@ -247,16 +247,16 @@
 
   // list matching ports if connections should be made
   if (connect) {
-  if (!port_name)
-    port_flags |= JackPortIsPhysical;
-  matching_ports = jack_get_ports(client, port_name, NULL, port_flags);
-  i = 0;
-  while (matching_ports && matching_ports[i]) i++;
-  if (!i) {
-    mp_msg(MSGT_AO, MSGL_FATAL, "[JACK] no physical ports available\n");
-    goto err_out;
-  }
-  if (channels > i) channels = i;
+    if (!port_name)
+      port_flags |= JackPortIsPhysical;
+    matching_ports = jack_get_ports(client, port_name, NULL, port_flags);
+    i = 0;
+    while (matching_ports && matching_ports[i]) i++;
+    if (!i) {
+      mp_msg(MSGT_AO, MSGL_FATAL, "[JACK] no physical ports available\n");
+      goto err_out;
+    }
+    if (channels > i) channels = i;
   }
   num_ports = channels;