mirror of
https://github.com/alexkay/spek.git
synced 2025-04-19 01:47:37 +03:00
Speed up FFT by using the right number of bands
This commit is contained in:
parent
0c51710a3f
commit
37964b9ce3
@ -27,7 +27,8 @@ namespace Spek {
|
||||
private Source source;
|
||||
private string info;
|
||||
private const int THRESHOLD = -92;
|
||||
private const int BANDS = 1024;
|
||||
// For faster FFT BANDS*2-2 should be a multiple of 2,3,5
|
||||
private const int BANDS = 1025;
|
||||
|
||||
private ImageSurface image;
|
||||
private ImageSurface palette;
|
||||
|
Loading…
x
Reference in New Issue
Block a user