Files
asterisk/tests
Sebastian Jennen ef7dc45b77 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-05-22 16:16:43 +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
2025-04-02 12:16:35 +00:00
2021-11-18 10:19:10 -06:00
2021-11-18 10:19:10 -06:00
2020-06-10 09:33:28 -05:00
2021-11-15 22:48:56 -06:00
2023-06-09 18:19:49 +00:00
2022-05-09 08:21:45 -05:00
2021-11-18 10:19:10 -06:00