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.
This commit is contained in:
Max Kellermann
2008-09-07 19:19:55 +02:00
parent bd81fd8b0c
commit f1dd9c209c
34 changed files with 98 additions and 83 deletions
+4 -3
View File
@@ -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