Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: PaulStoffregen

Search: Search took 0.04 seconds.

  1. Replies
    23
    Views
    4,665

    If you run the code from msg #6 and change the...

    If you run the code from msg #6 and change the number of bytes in the line with malloc(), you should see the reported memory usage change.
  2. Replies
    23
    Views
    4,665

    With the audio library, you can use...

    With the audio library, you can use AudioMemoryUsage() to see how much of the AudioMemory you reserved is actually in use. Details here:

    https://www.pjrc.com/teensy/td_libs_AudioConnection.html
    ...
  3. Replies
    23
    Views
    4,665

    Try replacing "reinterpret_cast(sbrk(0))"...

    Try replacing "reinterpret_cast<char*>(sbrk(0))" with "(char *)&_heap_end".

    EDIT: oh, wait... using "&top" is completely wrong for Teensy 4.x.

    Try this instead:



    extern unsigned long...
Results 1 to 3 of 3