summaryrefslogtreecommitdiff
path: root/lib/rbcodec/dsp/compressor.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rbcodec/dsp/compressor.h')
-rw-r--r--lib/rbcodec/dsp/compressor.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/lib/rbcodec/dsp/compressor.h b/lib/rbcodec/dsp/compressor.h
index d0e33f6e2c..e41950926e 100644
--- a/lib/rbcodec/dsp/compressor.h
+++ b/lib/rbcodec/dsp/compressor.h
@@ -18,12 +18,18 @@
18 * KIND, either express or implied. 18 * KIND, either express or implied.
19 * 19 *
20 ****************************************************************************/ 20 ****************************************************************************/
21
22#ifndef COMPRESSOR_H 21#ifndef COMPRESSOR_H
23#define COMPRESSOR_H 22#define COMPRESSOR_H
24 23
25void compressor_process(int count, struct dsp_data *data, int32_t *buf[]); 24struct compressor_settings
26bool compressor_update(const struct compressor_settings *settings); 25{
27void compressor_reset(void); 26 int threshold;
27 int makeup_gain;
28 int ratio;
29 int knee;
30 int release_time;
31};
32
33void dsp_set_compressor(const struct compressor_settings *settings);
28 34
29#endif /* COMPRESSOR_H */ 35#endif /* COMPRESSOR_H */