aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_api.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/decoder_api.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 '')
-rw-r--r--src/decoder_api.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/decoder_api.h b/src/decoder_api.h
index 3ab388289..ec1f139df 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);