2012-09-04 09:26:18 +02:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2003-2012 The Music Player Daemon Project
|
|
|
|
* http://www.musicpd.org
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License along
|
|
|
|
* with this program; if not, write to the Free Software Foundation, Inc.,
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "config.h" /* must be first for large file support */
|
|
|
|
#include "OpusDecoderPlugin.h"
|
2013-09-27 22:31:24 +02:00
|
|
|
#include "OpusDomain.hxx"
|
2012-09-04 09:26:18 +02:00
|
|
|
#include "OpusHead.hxx"
|
|
|
|
#include "OpusTags.hxx"
|
|
|
|
#include "OggUtil.hxx"
|
2013-01-07 23:06:02 +01:00
|
|
|
#include "OggFind.hxx"
|
2013-01-08 11:04:14 +01:00
|
|
|
#include "OggSyncState.hxx"
|
2013-07-28 13:18:48 +02:00
|
|
|
#include "DecoderAPI.hxx"
|
2013-01-07 22:12:09 +01:00
|
|
|
#include "OggCodec.hxx"
|
2013-07-29 07:50:08 +02:00
|
|
|
#include "CheckAudioFormat.hxx"
|
2013-09-05 18:22:02 +02:00
|
|
|
#include "tag/TagHandler.hxx"
|
2013-09-05 19:11:50 +02:00
|
|
|
#include "tag/TagBuilder.hxx"
|
2013-01-24 19:14:40 +01:00
|
|
|
#include "InputStream.hxx"
|
2013-08-10 18:02:44 +02:00
|
|
|
#include "util/Error.hxx"
|
2013-09-27 22:31:24 +02:00
|
|
|
#include "Log.hxx"
|
2012-09-04 09:26:18 +02:00
|
|
|
|
|
|
|
#include <opus.h>
|
|
|
|
#include <ogg/ogg.h>
|
|
|
|
|
|
|
|
#include <glib.h>
|
|
|
|
|
2013-07-30 20:11:57 +02:00
|
|
|
#include <string.h>
|
2012-09-04 09:26:18 +02:00
|
|
|
|
2013-10-24 20:14:47 +02:00
|
|
|
static constexpr opus_int32 opus_sample_rate = 48000;
|
2012-09-04 09:26:18 +02:00
|
|
|
|
|
|
|
gcc_pure
|
|
|
|
static bool
|
|
|
|
IsOpusHead(const ogg_packet &packet)
|
|
|
|
{
|
|
|
|
return packet.bytes >= 8 && memcmp(packet.packet, "OpusHead", 8) == 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
gcc_pure
|
|
|
|
static bool
|
|
|
|
IsOpusTags(const ogg_packet &packet)
|
|
|
|
{
|
|
|
|
return packet.bytes >= 8 && memcmp(packet.packet, "OpusTags", 8) == 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
static bool
|
2013-08-04 11:30:26 +02:00
|
|
|
mpd_opus_init(gcc_unused const config_param ¶m)
|
2012-09-04 09:26:18 +02:00
|
|
|
{
|
2013-09-27 22:31:24 +02:00
|
|
|
LogDebug(opus_domain, opus_get_version_string());
|
2012-09-04 09:26:18 +02:00
|
|
|
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
class MPDOpusDecoder {
|
2013-10-21 21:12:37 +02:00
|
|
|
Decoder &decoder;
|
2013-10-23 22:08:59 +02:00
|
|
|
InputStream &input_stream;
|
2012-09-04 09:26:18 +02:00
|
|
|
|
|
|
|
ogg_stream_state os;
|
|
|
|
|
2013-02-04 11:08:32 +01:00
|
|
|
OpusDecoder *opus_decoder;
|
|
|
|
opus_int16 *output_buffer;
|
|
|
|
unsigned output_size;
|
2012-09-04 09:26:18 +02:00
|
|
|
|
2013-02-04 11:08:32 +01:00
|
|
|
bool os_initialized;
|
|
|
|
bool found_opus;
|
2012-09-04 09:26:18 +02:00
|
|
|
|
|
|
|
int opus_serialno;
|
|
|
|
|
|
|
|
size_t frame_size;
|
|
|
|
|
|
|
|
public:
|
2013-10-21 21:12:37 +02:00
|
|
|
MPDOpusDecoder(Decoder &_decoder,
|
2013-10-23 22:08:59 +02:00
|
|
|
InputStream &_input_stream)
|
2013-02-04 11:08:32 +01:00
|
|
|
:decoder(_decoder), input_stream(_input_stream),
|
|
|
|
opus_decoder(nullptr),
|
|
|
|
output_buffer(nullptr), output_size(0),
|
|
|
|
os_initialized(false), found_opus(false) {}
|
2012-09-04 09:26:18 +02:00
|
|
|
~MPDOpusDecoder();
|
|
|
|
|
2013-01-08 11:04:14 +01:00
|
|
|
bool ReadFirstPage(OggSyncState &oy);
|
|
|
|
bool ReadNextPage(OggSyncState &oy);
|
2013-01-08 01:22:11 +01:00
|
|
|
|
2013-09-27 12:11:37 +02:00
|
|
|
DecoderCommand HandlePackets();
|
|
|
|
DecoderCommand HandlePacket(const ogg_packet &packet);
|
|
|
|
DecoderCommand HandleBOS(const ogg_packet &packet);
|
|
|
|
DecoderCommand HandleTags(const ogg_packet &packet);
|
|
|
|
DecoderCommand HandleAudio(const ogg_packet &packet);
|
2012-09-04 09:26:18 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
MPDOpusDecoder::~MPDOpusDecoder()
|
|
|
|
{
|
|
|
|
g_free(output_buffer);
|
|
|
|
|
|
|
|
if (opus_decoder != nullptr)
|
|
|
|
opus_decoder_destroy(opus_decoder);
|
|
|
|
|
|
|
|
if (os_initialized)
|
|
|
|
ogg_stream_clear(&os);
|
|
|
|
}
|
|
|
|
|
2013-01-08 01:22:11 +01:00
|
|
|
inline bool
|
2013-01-08 11:04:14 +01:00
|
|
|
MPDOpusDecoder::ReadFirstPage(OggSyncState &oy)
|
2012-09-04 09:26:18 +02:00
|
|
|
{
|
2013-01-08 01:22:11 +01:00
|
|
|
assert(!os_initialized);
|
|
|
|
|
2013-01-08 11:04:14 +01:00
|
|
|
if (!oy.ExpectFirstPage(os))
|
2013-01-08 01:22:11 +01:00
|
|
|
return false;
|
|
|
|
|
|
|
|
os_initialized = true;
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
inline bool
|
2013-01-08 11:04:14 +01:00
|
|
|
MPDOpusDecoder::ReadNextPage(OggSyncState &oy)
|
2013-01-08 01:22:11 +01:00
|
|
|
{
|
|
|
|
assert(os_initialized);
|
|
|
|
|
|
|
|
ogg_page page;
|
2013-01-08 11:04:14 +01:00
|
|
|
if (!oy.ExpectPage(page))
|
2013-01-08 01:22:11 +01:00
|
|
|
return false;
|
|
|
|
|
2012-09-04 09:26:18 +02:00
|
|
|
const auto page_serialno = ogg_page_serialno(&page);
|
2013-01-08 01:22:11 +01:00
|
|
|
if (page_serialno != os.serialno)
|
2012-09-04 09:26:18 +02:00
|
|
|
ogg_stream_reset_serialno(&os, page_serialno);
|
|
|
|
|
|
|
|
ogg_stream_pagein(&os, &page);
|
2013-01-08 01:22:11 +01:00
|
|
|
return true;
|
2013-01-08 01:18:26 +01:00
|
|
|
}
|
|
|
|
|
2013-09-27 12:11:37 +02:00
|
|
|
inline DecoderCommand
|
2013-01-08 01:18:26 +01:00
|
|
|
MPDOpusDecoder::HandlePackets()
|
|
|
|
{
|
2012-09-04 09:26:18 +02:00
|
|
|
ogg_packet packet;
|
|
|
|
while (ogg_stream_packetout(&os, &packet) == 1) {
|
2013-09-27 12:11:37 +02:00
|
|
|
auto cmd = HandlePacket(packet);
|
|
|
|
if (cmd != DecoderCommand::NONE)
|
2012-09-04 09:26:18 +02:00
|
|
|
return cmd;
|
|
|
|
}
|
|
|
|
|
2013-09-27 12:11:37 +02:00
|
|
|
return DecoderCommand::NONE;
|
2012-09-04 09:26:18 +02:00
|
|
|
}
|
|
|
|
|
2013-09-27 12:11:37 +02:00
|
|
|
inline DecoderCommand
|
2012-09-04 09:26:18 +02:00
|
|
|
MPDOpusDecoder::HandlePacket(const ogg_packet &packet)
|
|
|
|
{
|
|
|
|
if (packet.e_o_s)
|
2013-09-27 12:11:37 +02:00
|
|
|
return DecoderCommand::STOP;
|
2012-09-04 09:26:18 +02:00
|
|
|
|
|
|
|
if (packet.b_o_s)
|
|
|
|
return HandleBOS(packet);
|
|
|
|
else if (!found_opus)
|
2013-09-27 12:11:37 +02:00
|
|
|
return DecoderCommand::STOP;
|
2012-09-04 09:26:18 +02:00
|
|
|
|
|
|
|
if (IsOpusTags(packet))
|
|
|
|
return HandleTags(packet);
|
|
|
|
|
|
|
|
return HandleAudio(packet);
|
|
|
|
}
|
|
|
|
|
2013-10-24 20:23:26 +02:00
|
|
|
/**
|
|
|
|
* Load the end-of-stream packet and restore the previous file
|
|
|
|
* position.
|
|
|
|
*/
|
|
|
|
static bool
|
|
|
|
LoadEOSPacket(InputStream &is, Decoder *decoder, int serialno,
|
|
|
|
ogg_packet &packet)
|
|
|
|
{
|
|
|
|
if (!is.CheapSeeking())
|
|
|
|
/* we do this for local files only, because seeking
|
|
|
|
around remote files is expensive and not worth the
|
|
|
|
troubl */
|
|
|
|
return -1;
|
|
|
|
|
|
|
|
const auto old_offset = is.offset;
|
|
|
|
if (old_offset < 0)
|
|
|
|
return -1;
|
|
|
|
|
|
|
|
/* create temporary Ogg objects for seeking and parsing the
|
|
|
|
EOS packet */
|
|
|
|
OggSyncState oy(is, decoder);
|
|
|
|
ogg_stream_state os;
|
|
|
|
ogg_stream_init(&os, serialno);
|
|
|
|
|
|
|
|
bool result = OggSeekFindEOS(oy, os, packet, is);
|
|
|
|
ogg_stream_clear(&os);
|
|
|
|
|
|
|
|
/* restore the previous file position */
|
|
|
|
is.Seek(old_offset, SEEK_SET, IgnoreError());
|
|
|
|
|
|
|
|
return result;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Load the end-of-stream granulepos and restore the previous file
|
|
|
|
* position.
|
|
|
|
*
|
|
|
|
* @return -1 on error
|
|
|
|
*/
|
|
|
|
gcc_pure
|
|
|
|
static ogg_int64_t
|
|
|
|
LoadEOSGranulePos(InputStream &is, Decoder *decoder, int serialno)
|
|
|
|
{
|
|
|
|
ogg_packet packet;
|
|
|
|
if (!LoadEOSPacket(is, decoder, serialno, packet))
|
|
|
|
return -1;
|
|
|
|
|
|
|
|
return packet.granulepos;
|
|
|
|
}
|
|
|
|
|
2013-09-27 12:11:37 +02:00
|
|
|
inline DecoderCommand
|
2012-09-04 09:26:18 +02:00
|
|
|
MPDOpusDecoder::HandleBOS(const ogg_packet &packet)
|
|
|
|
{
|
|
|
|
assert(packet.b_o_s);
|
|
|
|
|
|
|
|
if (found_opus || !IsOpusHead(packet))
|
2013-09-27 12:11:37 +02:00
|
|
|
return DecoderCommand::STOP;
|
2012-09-04 09:26:18 +02:00
|
|
|
|
|
|
|
unsigned channels;
|
|
|
|
if (!ScanOpusHeader(packet.packet, packet.bytes, channels) ||
|
|
|
|
!audio_valid_channel_count(channels))
|
2013-09-27 12:11:37 +02:00
|
|
|
return DecoderCommand::STOP;
|
2012-09-04 09:26:18 +02:00
|
|
|
|
|
|
|
assert(opus_decoder == nullptr);
|
|
|
|
assert(output_buffer == nullptr);
|
|
|
|
|
|
|
|
opus_serialno = os.serialno;
|
|
|
|
found_opus = true;
|
|
|
|
|
|
|
|
/* TODO: parse attributes from the OpusHead (sample rate,
|
|
|
|
channels, ...) */
|
|
|
|
|
|
|
|
int opus_error;
|
|
|
|
opus_decoder = opus_decoder_create(opus_sample_rate, channels,
|
|
|
|
&opus_error);
|
|
|
|
if (opus_decoder == nullptr) {
|
2013-09-27 22:31:24 +02:00
|
|
|
FormatError(opus_domain, "libopus error: %s",
|
|
|
|
opus_strerror(opus_error));
|
2013-09-27 12:11:37 +02:00
|
|
|
return DecoderCommand::STOP;
|
2012-09-04 09:26:18 +02:00
|
|
|
}
|
|
|
|
|
2013-10-24 20:23:26 +02:00
|
|
|
const ogg_int64_t eos_granulepos =
|
|
|
|
LoadEOSGranulePos(input_stream, &decoder, opus_serialno);
|
|
|
|
const double duration = eos_granulepos >= 0
|
|
|
|
? double(eos_granulepos) / opus_sample_rate
|
|
|
|
: -1.0;
|
|
|
|
|
2013-08-03 21:00:50 +02:00
|
|
|
const AudioFormat audio_format(opus_sample_rate,
|
|
|
|
SampleFormat::S16, channels);
|
2013-10-24 20:23:26 +02:00
|
|
|
decoder_initialized(decoder, audio_format, false, duration);
|
2013-08-03 21:00:50 +02:00
|
|
|
frame_size = audio_format.GetFrameSize();
|
2012-09-04 09:26:18 +02:00
|
|
|
|
|
|
|
/* allocate an output buffer for 16 bit PCM samples big enough
|
|
|
|
to hold a quarter second, larger than 120ms required by
|
|
|
|
libopus */
|
|
|
|
output_size = audio_format.sample_rate / 4;
|
|
|
|
output_buffer = (opus_int16 *)
|
|
|
|
g_malloc(sizeof(*output_buffer) * output_size *
|
|
|
|
audio_format.channels);
|
|
|
|
|
|
|
|
return decoder_get_command(decoder);
|
|
|
|
}
|
|
|
|
|
2013-09-27 12:11:37 +02:00
|
|
|
inline DecoderCommand
|
2012-09-04 09:26:18 +02:00
|
|
|
MPDOpusDecoder::HandleTags(const ogg_packet &packet)
|
|
|
|
{
|
2013-09-05 19:11:50 +02:00
|
|
|
TagBuilder tag_builder;
|
2012-09-04 09:26:18 +02:00
|
|
|
|
2013-09-27 12:11:37 +02:00
|
|
|
DecoderCommand cmd;
|
2013-07-30 20:11:57 +02:00
|
|
|
if (ScanOpusTags(packet.packet, packet.bytes,
|
2013-09-05 19:11:50 +02:00
|
|
|
&add_tag_handler, &tag_builder) &&
|
|
|
|
!tag_builder.IsEmpty()) {
|
|
|
|
Tag tag;
|
|
|
|
tag_builder.Commit(tag);
|
2013-07-31 00:34:22 +02:00
|
|
|
cmd = decoder_tag(decoder, input_stream, std::move(tag));
|
2013-09-05 19:11:50 +02:00
|
|
|
} else
|
2012-09-04 09:26:18 +02:00
|
|
|
cmd = decoder_get_command(decoder);
|
|
|
|
|
|
|
|
return cmd;
|
|
|
|
}
|
|
|
|
|
2013-09-27 12:11:37 +02:00
|
|
|
inline DecoderCommand
|
2012-09-04 09:26:18 +02:00
|
|
|
MPDOpusDecoder::HandleAudio(const ogg_packet &packet)
|
|
|
|
{
|
|
|
|
assert(opus_decoder != nullptr);
|
|
|
|
|
|
|
|
int nframes = opus_decode(opus_decoder,
|
|
|
|
(const unsigned char*)packet.packet,
|
|
|
|
packet.bytes,
|
|
|
|
output_buffer, output_size,
|
|
|
|
0);
|
|
|
|
if (nframes < 0) {
|
2013-09-27 22:31:24 +02:00
|
|
|
LogError(opus_domain, opus_strerror(nframes));
|
2013-09-27 12:11:37 +02:00
|
|
|
return DecoderCommand::STOP;
|
2012-09-04 09:26:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
if (nframes > 0) {
|
|
|
|
const size_t nbytes = nframes * frame_size;
|
2013-09-27 12:11:37 +02:00
|
|
|
auto cmd = decoder_data(decoder, input_stream,
|
|
|
|
output_buffer, nbytes,
|
|
|
|
0);
|
|
|
|
if (cmd != DecoderCommand::NONE)
|
2012-09-04 09:26:18 +02:00
|
|
|
return cmd;
|
|
|
|
}
|
|
|
|
|
2013-09-27 12:11:37 +02:00
|
|
|
return DecoderCommand::NONE;
|
2012-09-04 09:26:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
static void
|
2013-10-21 21:12:37 +02:00
|
|
|
mpd_opus_stream_decode(Decoder &decoder,
|
2013-10-23 22:08:59 +02:00
|
|
|
InputStream &input_stream)
|
2012-09-04 09:26:18 +02:00
|
|
|
{
|
2013-10-21 21:12:37 +02:00
|
|
|
if (ogg_codec_detect(&decoder, input_stream) != OGG_CODEC_OPUS)
|
2012-09-04 09:26:18 +02:00
|
|
|
return;
|
|
|
|
|
|
|
|
/* rewind the stream, because ogg_codec_detect() has
|
|
|
|
moved it */
|
2013-10-23 22:08:59 +02:00
|
|
|
input_stream.LockRewind(IgnoreError());
|
2012-09-04 09:26:18 +02:00
|
|
|
|
|
|
|
MPDOpusDecoder d(decoder, input_stream);
|
2013-10-23 22:08:59 +02:00
|
|
|
OggSyncState oy(input_stream, &decoder);
|
2012-09-04 09:26:18 +02:00
|
|
|
|
2013-01-08 11:04:14 +01:00
|
|
|
if (!d.ReadFirstPage(oy))
|
2013-01-08 01:22:11 +01:00
|
|
|
return;
|
|
|
|
|
2012-09-04 09:26:18 +02:00
|
|
|
while (true) {
|
2013-09-27 12:11:37 +02:00
|
|
|
auto cmd = d.HandlePackets();
|
|
|
|
if (cmd != DecoderCommand::NONE)
|
2012-09-04 09:26:18 +02:00
|
|
|
break;
|
|
|
|
|
2013-01-08 01:22:11 +01:00
|
|
|
if (!d.ReadNextPage(oy))
|
2013-01-08 01:05:59 +01:00
|
|
|
break;
|
2013-01-08 01:22:11 +01:00
|
|
|
|
2012-09-04 09:26:18 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
static bool
|
2013-10-23 22:08:59 +02:00
|
|
|
mpd_opus_scan_stream(InputStream &is,
|
2012-09-04 09:26:18 +02:00
|
|
|
const struct tag_handler *handler, void *handler_ctx)
|
|
|
|
{
|
2013-10-23 22:08:59 +02:00
|
|
|
OggSyncState oy(is);
|
2012-09-04 09:26:18 +02:00
|
|
|
|
2013-01-08 01:01:40 +01:00
|
|
|
ogg_stream_state os;
|
2013-01-08 11:04:14 +01:00
|
|
|
if (!oy.ExpectFirstPage(os))
|
2012-09-04 09:26:18 +02:00
|
|
|
return false;
|
|
|
|
|
|
|
|
/* read at most two more pages */
|
|
|
|
unsigned remaining_pages = 2;
|
|
|
|
|
|
|
|
bool result = false;
|
|
|
|
|
|
|
|
ogg_packet packet;
|
|
|
|
while (true) {
|
|
|
|
int r = ogg_stream_packetout(&os, &packet);
|
|
|
|
if (r < 0) {
|
|
|
|
result = false;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
|
|
|
|
if (r == 0) {
|
|
|
|
if (remaining_pages-- == 0)
|
|
|
|
break;
|
|
|
|
|
2013-01-08 11:04:14 +01:00
|
|
|
if (!oy.ExpectPageIn(os)) {
|
2012-09-04 09:26:18 +02:00
|
|
|
result = false;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
|
|
|
|
if (packet.b_o_s) {
|
|
|
|
if (!IsOpusHead(packet))
|
|
|
|
break;
|
|
|
|
|
|
|
|
unsigned channels;
|
|
|
|
if (!ScanOpusHeader(packet.packet, packet.bytes, channels) ||
|
|
|
|
!audio_valid_channel_count(channels)) {
|
|
|
|
result = false;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
|
|
|
|
result = true;
|
|
|
|
} else if (!result)
|
|
|
|
break;
|
|
|
|
else if (IsOpusTags(packet)) {
|
|
|
|
if (!ScanOpusTags(packet.packet, packet.bytes,
|
|
|
|
handler, handler_ctx))
|
|
|
|
result = false;
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-10-24 20:33:12 +02:00
|
|
|
if (packet.e_o_s || OggSeekFindEOS(oy, os, packet, is))
|
2013-01-07 23:06:02 +01:00
|
|
|
tag_handler_invoke_duration(handler, handler_ctx,
|
|
|
|
packet.granulepos / opus_sample_rate);
|
|
|
|
|
2012-09-04 09:26:18 +02:00
|
|
|
ogg_stream_clear(&os);
|
|
|
|
|
|
|
|
return result;
|
|
|
|
}
|
|
|
|
|
|
|
|
static const char *const opus_suffixes[] = {
|
|
|
|
"opus",
|
|
|
|
"ogg",
|
|
|
|
"oga",
|
|
|
|
nullptr
|
|
|
|
};
|
|
|
|
|
|
|
|
static const char *const opus_mime_types[] = {
|
|
|
|
"audio/opus",
|
|
|
|
nullptr
|
|
|
|
};
|
|
|
|
|
2013-10-21 20:31:34 +02:00
|
|
|
const struct DecoderPlugin opus_decoder_plugin = {
|
2012-09-04 09:26:18 +02:00
|
|
|
"opus",
|
|
|
|
mpd_opus_init,
|
|
|
|
nullptr,
|
|
|
|
mpd_opus_stream_decode,
|
|
|
|
nullptr,
|
|
|
|
nullptr,
|
|
|
|
mpd_opus_scan_stream,
|
|
|
|
nullptr,
|
|
|
|
opus_suffixes,
|
|
|
|
opus_mime_types,
|
|
|
|
};
|