diff options
author | Max Kellermann <max@duempel.org> | 2008-08-26 08:27:05 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-08-26 08:27:05 +0200 |
commit | 4590a98f0eb9484e185e7e0c25a3373c8e9076ea (patch) | |
tree | 94ea0d53bdf0b7f9b81ff679b0fb4466d971b1e5 /src/decoder_api.h | |
parent | 0d45870cea6836cd48e6953f4e67756b2502e22c (diff) | |
download | mpd-4590a98f0eb9484e185e7e0c25a3373c8e9076ea.tar.gz mpd-4590a98f0eb9484e185e7e0c25a3373c8e9076ea.tar.xz mpd-4590a98f0eb9484e185e7e0c25a3373c8e9076ea.zip |
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().
Diffstat (limited to 'src/decoder_api.h')
-rw-r--r-- | src/decoder_api.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 |