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().
This commit is contained in:
Max Kellermann
2008-08-26 08:27:05 +02:00
parent 0d45870cea
commit 4590a98f0e
14 changed files with 88 additions and 83 deletions

View File

@@ -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