瀏覽代碼

Audio memory usage tracking for more than 255 blocks

teensy4-core
PaulStoffregen 7 年之前
父節點
當前提交
a8ed95773a
共有 2 個檔案被更改,包括 4 行新增4 行删除
  1. +2
    -2
      teensy3/AudioStream.cpp
  2. +2
    -2
      teensy3/AudioStream.h

+ 2
- 2
teensy3/AudioStream.cpp 查看文件

@@ -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 查看文件

@@ -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…
取消
儲存