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
custom
jacqueline 1 year ago
parent 66f68aac0d
commit f772ab9f20
  1. 2
      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)

Loading…
Cancel
Save