Use drflac instead of miniflac

This one is fast as hell! Does seeking really good too. Thank u Doctor
Flac.
This commit is contained in:
jacqueline
2024-02-29 12:08:12 +11:00
parent 77145e56f4
commit d41f9f7033
13 changed files with 12675 additions and 6334 deletions
@@ -1,5 +1,5 @@
# Copyright 2023 jacqueline <me@jacqueline.id.au>
#
# SPDX-License-Identifier: GPL-3.0-only
idf_component_register(SRCS miniflac.c INCLUDE_DIRS .)
idf_component_register(SRCS dr_flac.c INCLUDE_DIRS .)
target_compile_options("${COMPONENT_LIB}" PRIVATE -Ofast)
+4
View File
@@ -0,0 +1,4 @@
#define DR_FLAC_IMPLEMENTATION
#define DR_FLAC_NO_STDIO
#define DR_FLAC_NO_SIMD
#include "dr_flac.h"
+12536
View File
File diff suppressed because it is too large Load Diff
-5
View File
@@ -1,5 +0,0 @@
#define MINIFLAC_IMPLEMENTATION
#define MINIFLAC_API
#define MINIFLAC_PRIVATE static inline
#include "miniflac.h"
File diff suppressed because it is too large Load Diff