Commit ea37b897 authored by Max Kellermann's avatar Max Kellermann

decoder/adplug: log version number

parent 5d89aa06
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
#include "CheckAudioFormat.hxx" #include "CheckAudioFormat.hxx"
#include "fs/Path.hxx" #include "fs/Path.hxx"
#include "util/Error.hxx" #include "util/Error.hxx"
#include "util/Domain.hxx"
#include "util/Macros.hxx" #include "util/Macros.hxx"
#include "Log.hxx" #include "Log.hxx"
...@@ -32,11 +33,16 @@ ...@@ -32,11 +33,16 @@
#include <assert.h> #include <assert.h>
static constexpr Domain adplug_domain("adplug");
static unsigned sample_rate; static unsigned sample_rate;
static bool static bool
adplug_init(const config_param &param) adplug_init(const config_param &param)
{ {
FormatDebug(adplug_domain, "adplug %s",
CAdPlug::get_version().c_str());
Error error; Error error;
sample_rate = param.GetBlockValue("sample_rate", 48000u); sample_rate = param.GetBlockValue("sample_rate", 48000u);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment