From 4590a98f0eb9484e185e7e0c25a3373c8e9076ea Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 26 Aug 2008 08:27:05 +0200 Subject: added audio_format parameter to decoder_initialized() dc->audioFormat is set once by the decoder plugins before invoking decoder_initialized(); hide dc->audioFormat and let the decoder pass an AudioFormat pointer to decoder_initialized(). --- 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 a4fd7fc97..eb2ca3887 100644 --- a/src/decoder_api.h +++ b/src/decoder_api.h @@ -40,7 +40,8 @@ struct decoder; * Notify the player thread that it has finished initialization and * that it has read the song's meta data. */ -void decoder_initialized(struct decoder * decoder); +void decoder_initialized(struct decoder * decoder, + const AudioFormat * audio_format); /** * This function is called by the decoder plugin when it has -- cgit v1.2.3