Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/alexmarsev/libbs2b.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/bs2b.h')
-rw-r--r--src/bs2b.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bs2b.h b/src/bs2b.h
index ccdb6db..e70a4be 100644
--- a/src/bs2b.h
+++ b/src/bs2b.h
@@ -60,6 +60,9 @@
/* Default sample rate (Hz) */
#define BS2B_DEFAULT_SRATE 44100
+/* A delay at low frequency by microseconds according to cut frequency */
+#define bs2b_level_delay( fcut ) ( ( 18700 / fcut ) * 10 )
+
typedef struct
{
uint32_t level; /* Crossfeed level */