Skip to content

Consider using static buffers? #8

Answered by pschatzmann
stevstrong asked this question in Q&A
Discussion options

You must be logged in to vote

I opened the discussion folder since you are posting questions which are not really bugs.

Static buffers have their merits, if you have an application that is supposed to to this one thing.
However I prefer to have the flexibility to play and support multiple audio files from different decoders and then it is more important to be able to release the memory again.

It is also a question of what processors you are working with. Todays ESP32 and RP2040 have enough RAM that we can afford not to bother too much about this

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by pschatzmann
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #7 on February 23, 2024 14:27.