Files
asterisk/tests
Sebastian Jennen fdaf266cd3 tests: add tests/test_codec_translations.c
This tests checks [slin -> codec -> slin] and then compares slin in vs out
regarding signal noise ratio and delay.

Near-lossless codecs (ulaw, alaw) are checked with a maximum per-sample
error bound.  Lossy codecs are checked with a per-codec SNR threshold.
Cross-correlation alignment compensates for algorithmic delay in codecs
like speex and opus.

Covered codecs: ulaw, alaw, adpcm, g726, g726aal2, gsm, speex,
speex16, speex32, ilbc, codec2, lpc10, g722, opus.

Resolves: #1812
2026-06-04 13:04:20 +00:00
..
2022-09-12 16:18:19 -05:00
2022-09-12 16:18:19 -05:00
2021-11-15 22:48:56 -06:00
2021-11-15 22:48:56 -06:00
2016-10-27 09:53:55 -04:00
2025-05-01 12:39:48 +00:00
2016-10-27 09:53:55 -04:00
2021-11-18 10:19:10 -06:00
2021-11-18 10:19:10 -06:00
2016-10-27 09:53:55 -04:00
2016-10-27 09:53:55 -04:00
2016-10-27 09:53:55 -04:00
2016-10-27 09:53:55 -04:00
2020-06-10 09:33:28 -05:00
2016-10-27 09:53:55 -04:00
2021-11-15 22:48:56 -06:00
2016-10-27 09:53:55 -04:00
2016-10-27 09:53:55 -04:00
2023-07-10 11:49:48 +00:00
2022-05-09 08:21:45 -05:00
2021-11-18 10:19:10 -06:00