Ce site fonctionne mieux avec JavaScript.
Accueil
Explorateur
Aide
Connexion
visus
/
teensy-audio
Suivre
1
Ajouter aux favoris
0
Bifurcation
0
Code
Tickets
0
Demandes d'ajout
0
Versions
0
Wiki
Activité
Parcourir la source
Add TODO for analyze peak optimization
dds
PaulStoffregen
il y a 10 ans
Parent
e9535e5c0a
révision
0af537f2ca
1 fichiers modifiés
avec
2 ajouts
et
0 suppressions
Vue séparée
Afficher les stats Diff
+2
-0
analyze_peak.cpp
+ 2
- 0
analyze_peak.cpp
Voir le fichier
@@ -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);
Écrire
Aperçu
Chargement…
Annuler
Enregistrer