decoder/sndfile: log libsndfile version on startup
This commit is contained in:
@@ -32,6 +32,13 @@
|
|||||||
|
|
||||||
static constexpr Domain sndfile_domain("sndfile");
|
static constexpr Domain sndfile_domain("sndfile");
|
||||||
|
|
||||||
|
static bool
|
||||||
|
sndfile_init(gcc_unused const config_param ¶m)
|
||||||
|
{
|
||||||
|
LogDebug(sndfile_domain, sf_version_string());
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
struct SndfileInputStream {
|
struct SndfileInputStream {
|
||||||
Decoder *const decoder;
|
Decoder *const decoder;
|
||||||
InputStream &is;
|
InputStream &is;
|
||||||
@@ -282,7 +289,7 @@ static const char *const sndfile_mime_types[] = {
|
|||||||
|
|
||||||
const struct DecoderPlugin sndfile_decoder_plugin = {
|
const struct DecoderPlugin sndfile_decoder_plugin = {
|
||||||
"sndfile",
|
"sndfile",
|
||||||
nullptr,
|
sndfile_init,
|
||||||
nullptr,
|
nullptr,
|
||||||
sndfile_stream_decode,
|
sndfile_stream_decode,
|
||||||
nullptr,
|
nullptr,
|
||||||
|
Reference in New Issue
Block a user