aboutsummaryrefslogtreecommitdiffstats
path: root/src/replayGain.h
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/replayGain.h
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/replayGain.h')
-rw-r--r--src/replayGain.h6
1 files changed, 3 insertions, 3 deletions
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