Minor: Line breaking. stable-1.5
authorFlorian Pose <fp@igh-essen.com>
Wed, 19 Sep 2012 22:46:34 +0200
branchstable-1.5
changeset 2429 cc2e1cbb63b1
parent 2428 8a270ea612ee
child 2430 1430a47a67dd
Minor: Line breaking.
lib/voe_handler.c
--- a/lib/voe_handler.c	Wed Sep 19 22:40:32 2012 +0200
+++ b/lib/voe_handler.c	Wed Sep 19 22:46:34 2012 +0200
@@ -65,9 +65,11 @@
     data.vendor_id = &vendor_id;
     data.vendor_type = &vendor_type;
 
-    if (ioctl(voe->config->master->fd, EC_IOCTL_VOE_SEND_HEADER, &data) == -1)
+    if (ioctl(voe->config->master->fd,
+                EC_IOCTL_VOE_SEND_HEADER, &data) == -1) {
         fprintf(stderr, "Failed to set VoE send header: %s\n",
                 strerror(errno));
+    }
 }
 
 /*****************************************************************************/
@@ -82,9 +84,11 @@
     data.vendor_id = vendor_id;
     data.vendor_type = vendor_type;
 
-    if (ioctl(voe->config->master->fd, EC_IOCTL_VOE_REC_HEADER, &data) == -1)
+    if (ioctl(voe->config->master->fd,
+                EC_IOCTL_VOE_REC_HEADER, &data) == -1) {
         fprintf(stderr, "Failed to get received VoE header: %s\n",
                 strerror(errno));
+    }
 }
 
 /*****************************************************************************/
@@ -110,9 +114,10 @@
     data.config_index = voe->config->index;
     data.voe_index = voe->index;
 
-    if (ioctl(voe->config->master->fd, EC_IOCTL_VOE_READ, &data) == -1)
+    if (ioctl(voe->config->master->fd, EC_IOCTL_VOE_READ, &data) == -1) {
         fprintf(stderr, "Failed to initiate VoE reading: %s\n",
                 strerror(errno));
+    }
 }
 
 /*****************************************************************************/
@@ -124,9 +129,11 @@
     data.config_index = voe->config->index;
     data.voe_index = voe->index;
 
-    if (ioctl(voe->config->master->fd, EC_IOCTL_VOE_READ_NOSYNC, &data) == -1)
+    if (ioctl(voe->config->master->fd,
+                EC_IOCTL_VOE_READ_NOSYNC, &data) == -1) {
         fprintf(stderr, "Failed to initiate VoE reading: %s\n",
                 strerror(errno));
+    }
 }
 
 /*****************************************************************************/
@@ -140,9 +147,10 @@
     data.size = size;
     data.data = voe->data;
 
-    if (ioctl(voe->config->master->fd, EC_IOCTL_VOE_WRITE, &data) == -1)
+    if (ioctl(voe->config->master->fd, EC_IOCTL_VOE_WRITE, &data) == -1) {
         fprintf(stderr, "Failed to initiate VoE writing: %s\n",
                 strerror(errno));
+    }
 }
 
 /*****************************************************************************/