C-Netz: Use emphasis with 200 uS time constant

This commit is contained in:
Andreas Eversberg
2016-10-23 08:46:05 +02:00
parent 8864db8269
commit 1ea95de120
6 changed files with 17 additions and 12 deletions

View File

@@ -13,7 +13,9 @@ typedef struct emphasis {
} d;
} emphasis_t;
int init_emphasis(emphasis_t *state, int samplerate);
#define CUT_OFF_EMPHASIS_DEFAULT 300.0
int init_emphasis(emphasis_t *state, int samplerate, double cut_off);
void pre_emphasis(emphasis_t *state, int16_t *samples, int num);
void de_emphasis(emphasis_t *state, int16_t *samples, int num);