projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mixer: Trivial whitespace fix.
[paraslash.git]
/
ao_write.c
diff --git
a/ao_write.c
b/ao_write.c
index e469a394fa6ee8df698a633274cf16394891e102..447dea84c00a468330fe8229bfd70b74292264bd 100644
(file)
--- a/
ao_write.c
+++ b/
ao_write.c
@@
-1,8
+1,4
@@
-/*
- * Copyright (C) 2011 Andre Noll <maan@tuebingen.mpg.de>
- *
- * Licensed under the GPL v2. For licencing details see COPYING.
- */
+/* Copyright (C) 2011 Andre Noll <maan@tuebingen.mpg.de>, see file COPYING. */
/** \file ao_write.c Paraslash's libao output plugin. */
/** \file ao_write.c Paraslash's libao output plugin. */
@@
-91,7
+87,7
@@
static int aow_set_sample_format(unsigned sample_rate, unsigned channels,
case SF_U8:
case SF_U16_LE:
case SF_U16_BE:
case SF_U8:
case SF_U16_LE:
case SF_U16_BE:
- return -E_
AO_
BAD_SAMPLE_FORMAT;
+ return -E_BAD_SAMPLE_FORMAT;
case SF_S8:
/* no need to set byte_format */
result->bits = 8;
case SF_S8:
/* no need to set byte_format */
result->bits = 8;
@@
-163,8
+159,8
@@
static void aow_show_drivers(void)
if (info->type == AO_TYPE_FILE)
continue;
if (info->type == AO_TYPE_FILE)
continue;
- PARA_DEBUG_LOG("
%s: %s
", info->short_name, info->name);
- PARA_DEBUG_LOG("priority: %d", info->priority);
+ PARA_DEBUG_LOG("
name: %s: %s\n
", info->short_name, info->name);
+ PARA_DEBUG_LOG("priority: %d
\n
", info->priority);
for (j = 0; j < info->option_count; j++) {
tmp = make_message("%s%s%s", keys? keys : "",
keys? ", " : "",
for (j = 0; j < info->option_count; j++) {
tmp = make_message("%s%s%s", keys? keys : "",
keys? ", " : "",
@@
-172,9
+168,9
@@
static void aow_show_drivers(void)
free(keys);
keys = tmp;
}
free(keys);
keys = tmp;
}
- PARA_DEBUG_LOG("keys: %s", keys? keys : "[none]");
+ PARA_DEBUG_LOG("keys: %s
\n
", keys? keys : "[none]");
free(keys);
free(keys);
- PARA_DEBUG_LOG("comment: %s", info->comment?
+ PARA_DEBUG_LOG("comment: %s
\n
", info->comment?
info->comment : "[none]");
}
}
info->comment : "[none]");
}
}
@@
-248,7
+244,7
@@
fail:
return ret;
}
return ret;
}
-
__noreturn
static void *aow_play(void *priv)
+static void *aow_play(void *priv)
{
struct writer_node *wn = priv;
struct private_aow_data *pawd = wn->private_data;
{
struct writer_node *wn = priv;
struct private_aow_data *pawd = wn->private_data;