1
0
mirror of https://github.com/signalwire/freeswitch.git synced 2025-04-21 02:47:01 +00:00
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@327 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2006-01-12 19:38:26 +00:00
parent 17ec402b74
commit 16abf085dc

@ -309,6 +309,7 @@ static switch_status iax_set_codec(struct private_object *tech_pvt, struct iax_s
channel = switch_core_session_get_channel(tech_pvt->session);
assert(channel != NULL);
if (*samprate) {
unsigned short samples = iax_build_codec_rates();
unsigned short mixed = (*samprate & samples);