summaryrefslogtreecommitdiff
path: root/src/codecs/dr_flac.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/codecs/dr_flac.cpp')
-rw-r--r--src/codecs/dr_flac.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/codecs/dr_flac.cpp b/src/codecs/dr_flac.cpp
index 939705ad..725ae71e 100644
--- a/src/codecs/dr_flac.cpp
+++ b/src/codecs/dr_flac.cpp
@@ -21,11 +21,11 @@ namespace codecs {
[[maybe_unused]] static const char kTag[] = "flac";
static void* onMalloc(size_t sz, void* pUserData) {
- return heap_caps_malloc(sz, MALLOC_CAP_SPIRAM);
+ return heap_caps_malloc(sz, MALLOC_CAP_INTERNAL | MALLOC_CAP_8BIT);
}
static void* onRealloc(void* p, size_t sz, void* pUserData) {
- return heap_caps_realloc(p, sz, MALLOC_CAP_SPIRAM);
+ return heap_caps_realloc(p, sz, MALLOC_CAP_INTERNAL | MALLOC_CAP_8BIT);
}
static void onFree(void* p, void* pUserData) {