aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/bformatdec.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-01-13 09:14:46 -0800
committerChris Robinson <[email protected]>2018-01-13 09:14:46 -0800
commit78cb70a5f9f2782e1335aea03168ffee2fea0122 (patch)
tree7bb585fdfb3fd0a4c310d50c45de1b4092400535 /Alc/bformatdec.h
parent16e4e0fa7c97d8b7273e590adc9432f317f93d57 (diff)
Replace some freq_mult variable names with f0norm
The latter is a bit more descriptive as f0 is often used to denote the reference frequency of a filter, so f0norm indicates the normalized reference frequency (ref_freq / sample_rate).
Diffstat (limited to 'Alc/bformatdec.h')
-rw-r--r--Alc/bformatdec.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/bformatdec.h b/Alc/bformatdec.h
index baaecf40..b017cfd3 100644
--- a/Alc/bformatdec.h
+++ b/Alc/bformatdec.h
@@ -55,7 +55,7 @@ typedef struct BandSplitter {
ALfloat hp_z1;
} BandSplitter;
-void bandsplit_init(BandSplitter *splitter, ALfloat freq_mult);
+void bandsplit_init(BandSplitter *splitter, ALfloat f0norm);
void bandsplit_clear(BandSplitter *splitter);
void bandsplit_process(BandSplitter *splitter, ALfloat *restrict hpout, ALfloat *restrict lpout,
const ALfloat *input, ALsizei count);
@@ -68,7 +68,7 @@ typedef struct SplitterAllpass {
ALfloat z1;
} SplitterAllpass;
-void splitterap_init(SplitterAllpass *splitter, ALfloat freq_mult);
+void splitterap_init(SplitterAllpass *splitter, ALfloat f0norm);
void splitterap_clear(SplitterAllpass *splitter);
void splitterap_process(SplitterAllpass *splitter, ALfloat *restrict samples, ALsizei count);