decoder/opus: move everything into anonymous namespace
This commit is contained in:
@@ -40,6 +40,8 @@
|
|||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
namespace {
|
||||||
|
|
||||||
static constexpr opus_int32 opus_sample_rate = 48000;
|
static constexpr opus_int32 opus_sample_rate = 48000;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -511,6 +513,8 @@ static const char *const opus_mime_types[] = {
|
|||||||
nullptr
|
nullptr
|
||||||
};
|
};
|
||||||
|
|
||||||
|
} /* anonymous namespace */
|
||||||
|
|
||||||
const struct DecoderPlugin opus_decoder_plugin = {
|
const struct DecoderPlugin opus_decoder_plugin = {
|
||||||
"opus",
|
"opus",
|
||||||
mpd_opus_init,
|
mpd_opus_init,
|
||||||
|
Reference in New Issue
Block a user