summaryrefslogtreecommitdiff
path: root/apps/dsp.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dsp.h')
-rw-r--r--apps/dsp.h7
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 */
31enum 30enum
32{ 31{
33 STEREO_INTERLEAVED = 0, 32 STEREO_INTERLEAVED = 0,
@@ -82,7 +81,7 @@ int32_t sound_get_pitch(void);
82void dsp_set_timestretch(int32_t percent); 81void dsp_set_timestretch(int32_t percent);
83int32_t dsp_get_timestretch(void); 82int32_t dsp_get_timestretch(void);
84int dsp_callback(int msg, intptr_t param); 83int dsp_callback(int msg, intptr_t param);
85int dsp_flush_limiter_buffer(char *dest); 84void dsp_set_compressor(int c_threshold, int c_ratio, int c_gain,
86void dsp_set_limiter(int limiter_level); 85 int c_knee, int c_release);
87 86
88#endif 87#endif