I am working on the T41 radio project which uses the Teensy 4.1.
What I want to do is conserve memory, but I have a function called only occasionally which uses a lot of audio memory.
So I want to temporarily increase the number of audio blocks, perform some work, and then go back to normal operion with a reduced number of blocks.
Is it possible to call the AudioMemory() function more than once with predictable results? Will it properly free and allocate increased
or decreased number of audio blocks? Or is it restricted to one-time use in the setup() function?
Thank you,
Greg
What I want to do is conserve memory, but I have a function called only occasionally which uses a lot of audio memory.
So I want to temporarily increase the number of audio blocks, perform some work, and then go back to normal operion with a reduced number of blocks.
Is it possible to call the AudioMemory() function more than once with predictable results? Will it properly free and allocate increased
or decreased number of audio blocks? Or is it restricted to one-time use in the setup() function?
Thank you,
Greg