# HG changeset patch # User Florian Pose # Date 1348087594 -7200 # Node ID cc2e1cbb63b1a90d8be0eec36aedf76e6d2f7544 # Parent 8a270ea612eee2f5de58c88d2b3185add9c393cf Minor: Line breaking. diff -r 8a270ea612ee -r cc2e1cbb63b1 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)); + } } /*****************************************************************************/