aboutsummaryrefslogtreecommitdiffstats
path: root/src/crossfade.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-07 19:19:55 +0200
committerMax Kellermann <max@duempel.org>2008-09-07 19:19:55 +0200
commitf1dd9c209c3a1cf6826d3a38b60f638e0faeadab (patch)
tree91e369d89eac8d298f1473c0dbcdf43065ae3b40 /src/crossfade.c
parentbd81fd8b0c4f4f3c20533e21d6a837326eb8682b (diff)
downloadmpd-f1dd9c209c3a1cf6826d3a38b60f638e0faeadab.tar.gz
mpd-f1dd9c209c3a1cf6826d3a38b60f638e0faeadab.tar.xz
mpd-f1dd9c209c3a1cf6826d3a38b60f638e0faeadab.zip
audio_format: converted typedef AudioFormat to struct audio_format
Get rid of CamelCase, and don't use a typedef, so we can forward-declare it, and unclutter the include dependencies.
Diffstat (limited to 'src/crossfade.c')
-rw-r--r--src/crossfade.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crossfade.c b/src/crossfade.c
index bf5fa5355..b99b9f7f0 100644
--- a/src/crossfade.c
+++ b/src/crossfade.c
@@ -22,7 +22,7 @@
#include "pcm_utils.h"
unsigned cross_fade_calc(float duration, float total_time,
- const AudioFormat * af,
+ const struct audio_format *af,
unsigned max_chunks)
{
unsigned int chunks;
@@ -46,7 +46,7 @@ unsigned cross_fade_calc(float duration, float total_time,
}
void cross_fade_apply(ob_chunk * a, const ob_chunk * b,
- const AudioFormat * format,
+ const struct audio_format *format,
unsigned int current_chunk, unsigned int num_chunks)
{
assert(current_chunk <= num_chunks);