diff options
author | Max Kellermann <max@duempel.org> | 2014-09-21 13:22:56 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-09-21 13:22:56 +0200 |
commit | ea37b8975390f10b8bba8ae7042895170dcca4d0 (patch) | |
tree | e314940743e91a7c740fa609c808ef8a49ff1138 | |
parent | 5d89aa06f786e549f4db6591eaa2800f471f8868 (diff) | |
download | mpd-ea37b8975390f10b8bba8ae7042895170dcca4d0.tar.gz mpd-ea37b8975390f10b8bba8ae7042895170dcca4d0.tar.xz mpd-ea37b8975390f10b8bba8ae7042895170dcca4d0.zip |
decoder/adplug: log version number
-rw-r--r-- | src/decoder/plugins/AdPlugDecoderPlugin.cxx | 6 |
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 ¶m) { + FormatDebug(adplug_domain, "adplug %s", + CAdPlug::get_version().c_str()); + Error error; sample_rate = param.GetBlockValue("sample_rate", 48000u); |