From f1dd9c209c3a1cf6826d3a38b60f638e0faeadab Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 7 Sep 2008 19:19:55 +0200 Subject: 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. --- src/crossfade.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/crossfade.h') diff --git a/src/crossfade.h b/src/crossfade.h index 544418e6f..918c6e97e 100644 --- a/src/crossfade.h +++ b/src/crossfade.h @@ -20,15 +20,16 @@ #ifndef CROSSFADE_H #define CROSSFADE_H -#include "audio_format.h" #include "outputBuffer.h" +struct audio_format; + unsigned cross_fade_calc(float duration, float total_time, - const AudioFormat * af, + const struct audio_format *af, unsigned max_chunks); 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); #endif -- cgit v1.2.3