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:
@@ -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
|
||||
|
Reference in New Issue
Block a user