From a031634bd64c7f30c4ace5ca06a5a47600b42f47 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Thu, 8 Oct 2020 01:29:12 -0700 Subject: *: more cosmetic formatting cleanups Making things a bit more consistent --- src/rmd_initialize_data.c | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'src/rmd_initialize_data.c') diff --git a/src/rmd_initialize_data.c b/src/rmd_initialize_data.c index 09c8132..4cd015f 100644 --- a/src/rmd_initialize_data.c +++ b/src/rmd_initialize_data.c @@ -42,10 +42,12 @@ #include #ifdef HAVE_LIBASOUND -static void rmdFixBufferSize(snd_pcm_uframes_t *buffsize) { +static void rmdFixBufferSize(snd_pcm_uframes_t *buffsize) +{ snd_pcm_uframes_t buffsize_t = *buffsize, #else -static void rmdFixBufferSize(u_int32_t *buffsize) { +static void rmdFixBufferSize(u_int32_t *buffsize) +{ u_int32_t buffsize_t = *buffsize, #endif buffsize_ret = 1; @@ -58,7 +60,8 @@ static void rmdFixBufferSize(u_int32_t *buffsize) { (int)buffsize_ret, (int)*buffsize); } -int rmdInitializeData(ProgData *pdata, EncData *enc_data, CacheData *cache_data) { +int rmdInitializeData(ProgData *pdata, EncData *enc_data, CacheData *cache_data) +{ fprintf(stderr, "Initializing...\n"); rmdMakeMatrices(); @@ -186,7 +189,8 @@ int rmdInitializeData(ProgData *pdata, EncData *enc_data, CacheData *cache_data) } -void rmdSetupDefaultArgs(ProgArgs *args) { +void rmdSetupDefaultArgs(ProgArgs *args) +{ args->delay = 0; args->windowid = 0; args->x = 0; @@ -244,7 +248,8 @@ void rmdSetupDefaultArgs(ProgArgs *args) { strcpy(args->filename, "out.ogv"); } -void rmdCleanUp(void) { +void rmdCleanUp(void) +{ free(yblocks); free(ublocks); free(vblocks); -- cgit v1.2.3