Ver código fonte

Audio memory usage tracking for more than 255 blocks

teensy4-core
PaulStoffregen 7 anos atrás
pai
commit
a8ed95773a
2 arquivos alterados com 4 adições e 4 exclusões
  1. +2
    -2
      teensy3/AudioStream.cpp
  2. +2
    -2
      teensy3/AudioStream.h

+ 2
- 2
teensy3/AudioStream.cpp Ver arquivo

@@ -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 Ver arquivo

@@ -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;

Carregando…
Cancelar
Salvar