Changed FFT scaling to use native code and requests

This commit is contained in:
Jarcode
2018-01-12 17:04:03 -08:00
parent 96f40d089e
commit 15ffe975cc
6 changed files with 20 additions and 8 deletions

View File

@@ -42,7 +42,6 @@ float smooth_audio(in sampler1D tex, int tex_sz, highp float idx, float r) {
avg += texture(tex, float(s) / float(tex_sz)).r * w;
}
avg /= weight;
avg *= max(idx + 0.7, 1);
return avg;
}