This website works better with JavaScript.
Home
Explore
Help
Sign In
visus
/
teensy-audio
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Add TODO for analyze peak optimization
dds
PaulStoffregen
10 years ago
parent
e9535e5c0a
commit
0af537f2ca
1 changed files
with
2 additions
and
0 deletions
Split View
Show Diff Stats
+2
-0
analyze_peak.cpp
+ 2
- 0
analyze_peak.cpp
View File
@@ -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);
Write
Preview
Loading…
Cancel
Save