diff options
Diffstat (limited to 'apps/dsp.h')
-rw-r--r-- | apps/dsp.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/apps/dsp.h b/apps/dsp.h index b2d8493445..ab42d73b24 100644 --- a/apps/dsp.h +++ b/apps/dsp.h | |||
@@ -26,8 +26,7 @@ | |||
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 */ | 29 | |
30 | #define MAX_LIMITER_GAIN 80 /* 8 dB */ | ||
31 | enum | 30 | enum |
32 | { | 31 | { |
33 | STEREO_INTERLEAVED = 0, | 32 | STEREO_INTERLEAVED = 0, |
@@ -82,7 +81,7 @@ int32_t sound_get_pitch(void); | |||
82 | void dsp_set_timestretch(int32_t percent); | 81 | void dsp_set_timestretch(int32_t percent); |
83 | int32_t dsp_get_timestretch(void); | 82 | int32_t dsp_get_timestretch(void); |
84 | int dsp_callback(int msg, intptr_t param); | 83 | int dsp_callback(int msg, intptr_t param); |
85 | int dsp_flush_limiter_buffer(char *dest); | 84 | void dsp_set_compressor(int c_threshold, int c_ratio, int c_gain, |
86 | void dsp_set_limiter(int limiter_level); | 85 | int c_knee, int c_release); |
87 | 86 | ||
88 | #endif | 87 | #endif |