diff options
| author | jacqueline <me@jacqueline.id.au> | 2024-02-29 12:08:12 +1100 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2024-02-29 12:08:12 +1100 |
| commit | d41f9f703375171d5766840c9edec32ff47bb25d (patch) | |
| tree | 25028408ed16d5aad3bdb315b6503536a875c0ac /src/codecs/codec.cpp | |
| parent | 77145e56f4062cd060ee7fa0af9ad1a2e46df5b1 (diff) | |
| download | tangara-fw-d41f9f703375171d5766840c9edec32ff47bb25d.tar.gz | |
Use drflac instead of miniflac
This one is fast as hell! Does seeking really good too. Thank u Doctor
Flac.
Diffstat (limited to 'src/codecs/codec.cpp')
| -rw-r--r-- | src/codecs/codec.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/codecs/codec.cpp b/src/codecs/codec.cpp index 7bc591aa..a51c40d6 100644 --- a/src/codecs/codec.cpp +++ b/src/codecs/codec.cpp @@ -10,7 +10,7 @@ #include <optional> #include "mad.hpp" -#include "miniflac.hpp" +#include "dr_flac.hpp" #include "opus.hpp" #include "types.hpp" #include "vorbis.hpp" @@ -42,7 +42,7 @@ auto CreateCodecForType(StreamType type) -> std::optional<ICodec*> { case StreamType::kVorbis: return new TremorVorbisDecoder(); case StreamType::kFlac: - return new MiniFlacDecoder(); + return new DrFlacDecoder(); case StreamType::kOpus: return new XiphOpusDecoder(); case StreamType::kWav: |
