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/decoder_api.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/decoder_api.h') diff --git a/src/decoder_api.h b/src/decoder_api.h index 3ab38828..ec1f139d 100644 --- a/src/decoder_api.h +++ b/src/decoder_api.h @@ -30,6 +30,7 @@ #include "replayGain.h" #include "tag.h" #include "tag_id3.h" +#include "audio_format.h" #include "playerData.h" @@ -112,7 +113,7 @@ struct decoder; * that it has read the song's meta data. */ void decoder_initialized(struct decoder * decoder, - const AudioFormat * audio_format, + const struct audio_format *audio_format, float total_time); const char *decoder_get_url(struct decoder * decoder, char * buffer); -- cgit v1.2.3