2017-01-27 15:57:34 +00:00
|
|
|
|
|
|
|
typedef double sample_t;
|
|
|
|
|
2017-01-29 06:25:12 +00:00
|
|
|
#define SPEECH_LEVEL 0.1585
|
|
|
|
|
2022-09-25 17:31:31 +00:00
|
|
|
void samples_to_int16_speech(int16_t *spl, sample_t *samples, int length);
|
|
|
|
void int16_to_samples_speech(sample_t *samples, int16_t *spl, int length);
|
|
|
|
void samples_to_int16_1mw(int16_t *spl, sample_t *samples, int length);
|
|
|
|
void int16_to_samples_1mw(sample_t *samples, int16_t *spl, int length);
|
2017-01-27 15:57:34 +00:00
|
|
|
|