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/replayGain.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/replayGain.h') diff --git a/src/replayGain.h b/src/replayGain.h index 8282da785..8b634cad6 100644 --- a/src/replayGain.h +++ b/src/replayGain.h @@ -20,12 +20,12 @@ #ifndef REPLAYGAIN_H #define REPLAYGAIN_H -#include "audio_format.h" - #define REPLAYGAIN_OFF 0 #define REPLAYGAIN_TRACK 1 #define REPLAYGAIN_ALBUM 2 +struct audio_format; + extern int replayGainState; typedef struct _ReplayGainInfo { @@ -45,6 +45,6 @@ void freeReplayGainInfo(ReplayGainInfo * info); void initReplayGainState(void); void doReplayGain(ReplayGainInfo * info, char *buffer, int bufferSize, - const AudioFormat * format); + const struct audio_format *format); #endif -- cgit v1.2.3