From 4887378ce74c27f837fe1939ad5917b221736fac Mon Sep 17 00:00:00 2001 From: ayumi Date: Tue, 22 Jul 2025 09:27:29 +0200 Subject: Preliminary ALAC support --- src/codecs/codec.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/codecs/codec.cpp') diff --git a/src/codecs/codec.cpp b/src/codecs/codec.cpp index 4ddb16ad..071c9778 100644 --- a/src/codecs/codec.cpp +++ b/src/codecs/codec.cpp @@ -9,6 +9,7 @@ #include #include +#include "alac.hpp" #include "dr_flac.hpp" #include "mad.hpp" #include "native.hpp" @@ -36,6 +37,8 @@ auto StreamTypeToString(StreamType t) -> std::string { return "Native"; case StreamType::kWavPack: return "WavPack"; + case StreamType::kAlac: + return "ALAC"; default: return ""; } @@ -57,6 +60,8 @@ auto CreateCodecForType(StreamType type) -> std::optional { return new NativeDecoder(); case StreamType::kWavPack: return new WavPackDecoder(); + case StreamType::kAlac: + return new AlacDecoder(); default: return {}; } -- cgit v1.2.3