summaryrefslogtreecommitdiff
path: root/src/audio/ola.h
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-03-05 22:55:56 +0100
committerskal <pascal.massimino@gmail.com>2026-03-05 22:55:56 +0100
commit34afbd6ca21d2b960573d787e6eae46fa86b200e (patch)
tree08450aeff4c67fb300428e705910265e6cd59943 /src/audio/ola.h
parent35c9ebb0a7ce0e726f631a2b04bb26098926cfab (diff)
style: run clang-format to adhere to coding style
Diffstat (limited to 'src/audio/ola.h')
-rw-r--r--src/audio/ola.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/audio/ola.h b/src/audio/ola.h
index 3dbc368..2d6267e 100644
--- a/src/audio/ola.h
+++ b/src/audio/ola.h
@@ -7,8 +7,7 @@
// Returns number of OLA frames for n_samples PCM input.
static inline int ola_num_frames(int n_samples) {
- return (n_samples > DCT_SIZE) ? (n_samples - DCT_SIZE) / OLA_HOP_SIZE + 1
- : 1;
+ return (n_samples > DCT_SIZE) ? (n_samples - DCT_SIZE) / OLA_HOP_SIZE + 1 : 1;
}
// Hann-windowed FDCT with 50% overlap (analysis).