diff options
Diffstat (limited to 'apps/dsp.h')
-rw-r--r-- | apps/dsp.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/dsp.h b/apps/dsp.h index 58a5edb5e2..b2d8493445 100644 --- a/apps/dsp.h +++ b/apps/dsp.h | |||
@@ -26,6 +26,8 @@ | |||
26 | #include <stdbool.h> | 26 | #include <stdbool.h> |
27 | 27 | ||
28 | #define NATIVE_FREQUENCY 44100 | 28 | #define NATIVE_FREQUENCY 44100 |
29 | #define LIMITER_BUFFER_SIZE 288 /* ~6.5 ms */ | ||
30 | #define MAX_LIMITER_GAIN 80 /* 8 dB */ | ||
29 | enum | 31 | enum |
30 | { | 32 | { |
31 | STEREO_INTERLEAVED = 0, | 33 | STEREO_INTERLEAVED = 0, |
@@ -80,5 +82,7 @@ int32_t sound_get_pitch(void); | |||
80 | void dsp_set_timestretch(int32_t percent); | 82 | void dsp_set_timestretch(int32_t percent); |
81 | int32_t dsp_get_timestretch(void); | 83 | int32_t dsp_get_timestretch(void); |
82 | int dsp_callback(int msg, intptr_t param); | 84 | int dsp_callback(int msg, intptr_t param); |
85 | int dsp_flush_limiter_buffer(char *dest); | ||
86 | void dsp_set_limiter(int limiter_level); | ||
83 | 87 | ||
84 | #endif | 88 | #endif |