diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2017-01-29 07:25:12 +0100 |
---|---|---|
committer | Andreas Eversberg <jolly@eversberg.eu> | 2017-02-18 21:01:13 +0100 |
commit | 7e45f556cec493c3c77fcb6400d8ae211faf2220 (patch) | |
tree | cb5903509228c36e7dcd52ae0a049b380e81f401 /src/common/sample.h | |
parent | bd7ccc5fa05587606757adbacb6e1bf12f12fd2c (diff) |
Correcting all levels and move all remaining integer samples to sample_t
The leves are based on the standards of each mobile network. They
are adjusted to the specified frequency deviation now.
Diffstat (limited to 'src/common/sample.h')
-rw-r--r-- | src/common/sample.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/sample.h b/src/common/sample.h index fb578eb..01a17df 100644 --- a/src/common/sample.h +++ b/src/common/sample.h @@ -1,6 +1,8 @@ typedef double sample_t; +#define SPEECH_LEVEL 0.1585 + void samples_to_int16(int16_t *spl, sample_t *samples, int length); void int16_to_samples(sample_t *samples, int16_t *spl, int length); |