diff --git a/lib/opusfile/include/custom_support.h b/lib/opusfile/include/custom_support.h index d99cc5e2..a5748989 100644 --- a/lib/opusfile/include/custom_support.h +++ b/lib/opusfile/include/custom_support.h @@ -8,7 +8,7 @@ static OPUS_INLINE void *opus_alloc (size_t size) { - return heap_caps_malloc(size, MALLOC_CAP_8BIT | MALLOC_CAP_INTERNAL); + return heap_caps_malloc(size, MALLOC_CAP_SPIRAM); } static OPUS_INLINE void opus_free (void *ptr)