[asterisk-dev] Purpose of Codecs with Multiple Sample Rates?

Alexander Traud pabstraud at compuserve.com
Fri Nov 20 07:27:29 CST 2015


I asked this question in
<https://issues.asterisk.org/jira/browse/ASTERISK-25535>:

Since Asterisk 13, Signed-Linear and Speex share the same codec name for all
sample rates, see main/codec_builtin.c:CODEC_REGISTER_AND_CACHE_NAMED(.). I
added SILK and AMR(-WB) as formats to my Asterisk 13. They could benefit
from this as well. However, what is the benefit of this?

Beside that, I found a drawback: ast_format_cache_get(.) does not work for
Speex.





More information about the asterisk-dev mailing list