diff options
author | Max Kellermann <max@duempel.org> | 2008-09-07 19:19:55 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-07 19:19:55 +0200 |
commit | f1dd9c209c3a1cf6826d3a38b60f638e0faeadab (patch) | |
tree | 91e369d89eac8d298f1473c0dbcdf43065ae3b40 /src/replayGain.c | |
parent | bd81fd8b0c4f4f3c20533e21d6a837326eb8682b (diff) | |
download | mpd-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 '')
-rw-r--r-- | src/replayGain.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/replayGain.c b/src/replayGain.c index 8926138bb..27caac1be 100644 --- a/src/replayGain.c +++ b/src/replayGain.c @@ -22,6 +22,8 @@ #include "log.h" #include "conf.h" +#include "audio_format.h" +#include "mpd_types.h" #include "os_compat.h" /* Added 4/14/2004 by AliasMrJones */ @@ -104,7 +106,7 @@ void freeReplayGainInfo(ReplayGainInfo * info) } void doReplayGain(ReplayGainInfo * info, char *buffer, int bufferSize, - const AudioFormat * format) + const struct audio_format *format) { mpd_sint16 *buffer16; mpd_sint8 *buffer8; |