aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/plugins/AdPlugDecoderPlugin.cxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/decoder/plugins/AdPlugDecoderPlugin.cxx6
1 files changed, 6 insertions, 0 deletions
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 <assert.h>
+static constexpr Domain adplug_domain("adplug");
+
static unsigned sample_rate;
static bool
adplug_init(const config_param &param)
{
+ FormatDebug(adplug_domain, "adplug %s",
+ CAdPlug::get_version().c_str());
+
Error error;
sample_rate = param.GetBlockValue("sample_rate", 48000u);