From ea37b8975390f10b8bba8ae7042895170dcca4d0 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 21 Sep 2014 13:22:56 +0200 Subject: decoder/adplug: log version number --- src/decoder/plugins/AdPlugDecoderPlugin.cxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/decoder') diff --git a/src/decoder/plugins/AdPlugDecoderPlugin.cxx b/src/decoder/plugins/AdPlugDecoderPlugin.cxx index 7551f92c2..9cc37ade4 100644 --- a/src/decoder/plugins/AdPlugDecoderPlugin.cxx +++ b/src/decoder/plugins/AdPlugDecoderPlugin.cxx @@ -24,6 +24,7 @@ #include "CheckAudioFormat.hxx" #include "fs/Path.hxx" #include "util/Error.hxx" +#include "util/Domain.hxx" #include "util/Macros.hxx" #include "Log.hxx" @@ -32,11 +33,16 @@ #include +static constexpr Domain adplug_domain("adplug"); + static unsigned sample_rate; static bool adplug_init(const config_param ¶m) { + FormatDebug(adplug_domain, "adplug %s", + CAdPlug::get_version().c_str()); + Error error; sample_rate = param.GetBlockValue("sample_rate", 48000u); -- cgit v1.2.3