decoder/adplug: log version number

This commit is contained in:
Max Kellermann 2014-09-21 13:22:56 +02:00
parent 5d89aa06f7
commit ea37b89753

View File

@ -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);