summaryrefslogtreecommitdiff
path: root/src/decoder/DecoderInternal.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2016-11-18 07:59:01 +0100
committerMax Kellermann <max@musicpd.org>2016-11-18 09:03:41 +0100
commit66fb352ccaac94a1ca5b6ac261ea15e790217f16 (patch)
treed9e2731f1a7398d11cf57c252e328f477f80c4a0 /src/decoder/DecoderInternal.hxx
parentfd77acc217340aeee3dc80173b6000815ebb709f (diff)
decoder/Client: add virtual method Ready()
Replaces decoder_initialized().
Diffstat (limited to 'src/decoder/DecoderInternal.hxx')
-rw-r--r--src/decoder/DecoderInternal.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/decoder/DecoderInternal.hxx b/src/decoder/DecoderInternal.hxx
index 91ea7928a..2a6cf1a93 100644
--- a/src/decoder/DecoderInternal.hxx
+++ b/src/decoder/DecoderInternal.hxx
@@ -116,6 +116,10 @@ struct Decoder final : DecoderClient {
* Caller must not lock the #DecoderControl object.
*/
void FlushChunk();
+
+ /* virtual methods from DecoderClient */
+ void Ready(AudioFormat audio_format,
+ bool seekable, SignedSongTime duration) override;
};
#endif