Este site funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Acessar
visus
/
teensy-audio
Observar
1
Favorito
0
Fork
0
Código
Issues
0
Pull requests
0
Versões
0
Wiki
Atividade
Ver código fonte
Add TODO for analyze peak optimization
dds
PaulStoffregen
9 anos atrás
pai
e9535e5c0a
commit
0af537f2ca
1 arquivos alterados
com
2 adições
e
0 exclusões
Visão dividida
Mostrar estatísticas do Diff
+2
-0
analyze_peak.cpp
+ 2
- 0
analyze_peak.cpp
Ver arquivo
@@ -42,6 +42,8 @@ void AudioAnalyzePeak::update(void)
max = max_sample;
do {
int16_t d=*p++;
// TODO: can we speed this up with SSUB16 and SEL
// http://www.m4-unleashed.com/parallel-comparison/
if (d<min) min=d;
if (d>max) max=d;
} while (p < end);
Escrever
Pré-visualização
Carregando…
Cancelar
Salvar