test/DumpDecoderClient: dump the seekable flag

This commit is contained in:
Max Kellermann 2020-01-25 19:24:43 +01:00
parent f6f30d6d64
commit 54d57fdcc2

View File

@ -28,15 +28,15 @@
void void
DumpDecoderClient::Ready(const AudioFormat audio_format, DumpDecoderClient::Ready(const AudioFormat audio_format,
gcc_unused bool seekable, bool seekable,
SignedSongTime duration) SignedSongTime duration)
{ {
assert(!initialized); assert(!initialized);
assert(audio_format.IsValid()); assert(audio_format.IsValid());
fprintf(stderr, "audio_format=%s duration=%f\n", fprintf(stderr, "audio_format=%s duration=%f seekable=%d\n",
ToString(audio_format).c_str(), ToString(audio_format).c_str(),
duration.ToDoubleS()); duration.ToDoubleS(), seekable);
initialized = true; initialized = true;
} }