summaryrefslogtreecommitdiff
path: root/src/audio/window.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/audio/window.cc')
-rw-r--r--src/audio/window.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/audio/window.cc b/src/audio/window.cc
index 927a64e..6edde0c 100644
--- a/src/audio/window.cc
+++ b/src/audio/window.cc
@@ -8,6 +8,7 @@
void hamming_window_512(float *window) {
const float PI = 3.14159265358979323846f;
for (int i = 0; i < WINDOW_SIZE; ++i) {
- window[i] = 0.54f - 0.46f * cosf(2.0f * PI * (float)i / (float)(WINDOW_SIZE - 1));
+ window[i] =
+ 0.54f - 0.46f * cosf(2.0f * PI * (float)i / (float)(WINDOW_SIZE - 1));
}
} \ No newline at end of file