summaryrefslogtreecommitdiff
path: root/src/rmd_initialize_data.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2020-10-08 01:29:12 -0700
committerVito Caputo <vcaputo@pengaru.com>2020-10-08 01:29:12 -0700
commita031634bd64c7f30c4ace5ca06a5a47600b42f47 (patch)
tree919e13ed1ba2e6443fe952288085576322748405 /src/rmd_initialize_data.c
parentbd53002a2bf51d48992613601719d180fed09975 (diff)
*: more cosmetic formatting cleanups
Making things a bit more consistent
Diffstat (limited to 'src/rmd_initialize_data.c')
-rw-r--r--src/rmd_initialize_data.c15
1 files changed, 10 insertions, 5 deletions
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 <string.h>
#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);
© All Rights Reserved