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/inputPlugins/mp3_plugin.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/inputPlugins/mp3_plugin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inputPlugins/mp3_plugin.c b/src/inputPlugins/mp3_plugin.c index 11486ce9d..24e0c368f 100644 --- a/src/inputPlugins/mp3_plugin.c +++ b/src/inputPlugins/mp3_plugin.c @@ -1021,7 +1021,7 @@ mp3Read(mp3DecodeData * data, ReplayGainInfo ** replayGainInfo) } static void initAudioFormatFromMp3DecodeData(mp3DecodeData * data, - AudioFormat * af) + struct audio_format * af) { af->bits = 16; af->sampleRate = (data->frame).header.samplerate; @@ -1033,7 +1033,7 @@ static int mp3_decode(struct decoder * decoder, InputStream * inStream) mp3DecodeData data; struct tag *tag = NULL; ReplayGainInfo *replayGainInfo = NULL; - AudioFormat audio_format; + struct audio_format audio_format; if (openMp3FromInputStream(inStream, &data, decoder, &tag, &replayGainInfo) < 0) { |