mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-09-13 15:04:29 +00:00
@@ -62,7 +62,7 @@ public:
|
||||
// However, native opus can also work with swrescale:
|
||||
// it uses planarfloat, we can resample to s16
|
||||
AVCodec const* codec = avcodec_find_decoder_by_name("libopus");
|
||||
bool is_libopus = false;//codec != nullptr;
|
||||
bool is_libopus = codec != nullptr;
|
||||
if (!codec) {
|
||||
LOG_WARNING(Audio_DSP, "using ffmpeg native opus decoder");
|
||||
codec = avcodec_find_decoder(AV_CODEC_ID_OPUS);
|
||||
|
||||
Reference in New Issue
Block a user