aboutsummaryrefslogtreecommitdiff
path: root/audio/jackaudio.c
diff options
context:
space:
mode:
authorZhang Han <zhanghan64@huawei.com>2021-01-15 09:24:26 +0800
committerGerd Hoffmann <kraxel@redhat.com>2021-01-15 11:49:26 +0100
commit3c8de96c074c035cb9f3e021769e4c8872d81268 (patch)
tree7f07f833e8f6e22972d69c5c029a5ced171a0290 /audio/jackaudio.c
parent6c6886bd01dcbdc47287ac5fbdaf89a8f49bc35f (diff)
audio: Add spaces around operator/delete redundant spaces
Fix problems about spaces: -operator needs spaces around it, add them. -somespaces are redundant, remove them. Signed-off-by: Zhang Han <zhanghan64@huawei.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-id: 20210115012431.79533-1-zhanghan64@huawei.com Message-Id: <20210115012431.79533-3-zhanghan64@huawei.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'audio/jackaudio.c')
-rw-r--r--audio/jackaudio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/jackaudio.c b/audio/jackaudio.c
index f8afb5cc31..3031c4e29b 100644
--- a/audio/jackaudio.c
+++ b/audio/jackaudio.c
@@ -277,7 +277,7 @@ static int qjack_process(jack_nframes_t nframes, void *arg)
if (likely(c->enabled)) {
qjack_buffer_read_l(&c->fifo, buffers, nframes);
} else {
- for(int i = 0; i < c->nchannels; ++i) {
+ for (int i = 0; i < c->nchannels; ++i) {
memset(buffers[i], 0, nframes * sizeof(float));
}
}