Browse Source

Audio memory usage tracking for more than 255 blocks

main
PaulStoffregen 7 years ago
parent
commit
a8ed95773a
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      teensy3/AudioStream.cpp
  2. +2
    -2
      teensy3/AudioStream.h

+ 2
- 2
teensy3/AudioStream.cpp View File

@@ -53,8 +53,8 @@ uint16_t AudioStream::memory_pool_first_mask;

uint16_t AudioStream::cpu_cycles_total = 0;
uint16_t AudioStream::cpu_cycles_total_max = 0;
uint8_t AudioStream::memory_used = 0;
uint8_t AudioStream::memory_used_max = 0;
uint16_t AudioStream::memory_used = 0;
uint16_t AudioStream::memory_used_max = 0;




+ 2
- 2
teensy3/AudioStream.h View File

@@ -146,8 +146,8 @@ public:
uint16_t cpu_cycles_max;
static uint16_t cpu_cycles_total;
static uint16_t cpu_cycles_total_max;
static uint8_t memory_used;
static uint8_t memory_used_max;
static uint16_t memory_used;
static uint16_t memory_used_max;
protected:
bool active;
unsigned char num_inputs;

Loading…
Cancel
Save