summaryrefslogtreecommitdiff
path: root/test/DumpDecoderClient.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2020-02-04 16:49:18 +0100
committerMax Kellermann <max@musicpd.org>2020-02-04 16:49:18 +0100
commit3fc859c42db85b763353bf7ae9346d4139f528d3 (patch)
treea815796723debefd213b522639aaacc112d7e6f0 /test/DumpDecoderClient.cxx
parent4b0444e760a3bcbaeb8cfd1f7964b00d9f0fe07a (diff)
parentf1ad21d2bf97b6ecb2359afccf389c65c2eb7d13 (diff)
Merge branch 'v0.21.x'
Diffstat (limited to 'test/DumpDecoderClient.cxx')
-rw-r--r--test/DumpDecoderClient.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/DumpDecoderClient.cxx b/test/DumpDecoderClient.cxx
index c71d27717..35c787b45 100644
--- a/test/DumpDecoderClient.cxx
+++ b/test/DumpDecoderClient.cxx
@@ -28,15 +28,15 @@
void
DumpDecoderClient::Ready(const AudioFormat audio_format,
- gcc_unused bool seekable,
+ bool seekable,
SignedSongTime duration) noexcept
{
assert(!initialized);
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(),
- duration.ToDoubleS());
+ duration.ToDoubleS(), seekable);
initialized = true;
}