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/inputPlugins/mp3_plugin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/inputPlugins/mp3_plugin.c') 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) { -- cgit v1.2.3