diff options
| author | jacqueline <me@jacqueline.id.au> | 2024-02-14 13:28:05 +1100 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2024-02-14 13:28:05 +1100 |
| commit | f772ab9f206b7356019f529cb4a98d5023962970 (patch) | |
| tree | af6149e1f8c88d7206e4891a80b33a43843b8782 /lib/opusfile/include/custom_support.h | |
| parent | 66f68aac0dc1cd7b0f2e133071d7f5c01a4edf8e (diff) | |
| download | tangara-fw-f772ab9f206b7356019f529cb4a98d5023962970.tar.gz | |
put the big opus alloc back into spiram
it's not clear to me that it helps *that* much, since the ogg allocs are
in internal ram anyway, and the memory pressure is just a bit much
Diffstat (limited to 'lib/opusfile/include/custom_support.h')
| -rw-r--r-- | lib/opusfile/include/custom_support.h | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
