[asterisk-commits] dvossel: branch dvossel/fixtheworld_phase2 r308576 - in /team/dvossel/fixthew...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Feb 22 16:49:07 CST 2011
Author: dvossel
Date: Tue Feb 22 16:49:03 2011
New Revision: 308576
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=308576
Log:
addresses reviewboard comments
Modified:
team/dvossel/fixtheworld_phase2/bridges/bridge_softmix.c
team/dvossel/fixtheworld_phase2/codecs/codec_resample.c
Modified: team/dvossel/fixtheworld_phase2/bridges/bridge_softmix.c
URL: http://svnview.digium.com/svn/asterisk/team/dvossel/fixtheworld_phase2/bridges/bridge_softmix.c?view=diff&rev=308576&r1=308575&r2=308576
==============================================================================
--- team/dvossel/fixtheworld_phase2/bridges/bridge_softmix.c (original)
+++ team/dvossel/fixtheworld_phase2/bridges/bridge_softmix.c Tue Feb 22 16:49:03 2011
@@ -359,14 +359,14 @@
}
}
- ast_log(LOG_NOTICE, " UPDATED FROM %d to %d\n", bridge_data->internal_rate, best_rate);
+ ast_debug(1, " Bridge changed from %d To %d\n", bridge_data->internal_rate, best_rate);
bridge_data->internal_rate = best_rate;
update_all_rates = 1;
} else if (!stats.num_at_internal_rate && !stats.num_above_internal_rate) {
update_all_rates = 1;
/* in this case, the highest supported rate is actually lower than the internal rate */
bridge_data->internal_rate = stats.highest_supported_rate;
- ast_log(LOG_NOTICE, " UPDATED FROM %d to %d\n", bridge_data->internal_rate, stats.highest_supported_rate);
+ ast_debug(1, " Bridge changed from %d to %d\n", bridge_data->internal_rate, stats.highest_supported_rate);
update_all_rates = 1;
} else {
update_all_rates = 0;
Modified: team/dvossel/fixtheworld_phase2/codecs/codec_resample.c
URL: http://svnview.digium.com/svn/asterisk/team/dvossel/fixtheworld_phase2/codecs/codec_resample.c?view=diff&rev=308576&r1=308575&r2=308576
==============================================================================
--- team/dvossel/fixtheworld_phase2/codecs/codec_resample.c (original)
+++ team/dvossel/fixtheworld_phase2/codecs/codec_resample.c Tue Feb 22 16:49:03 2011
@@ -121,7 +121,7 @@
translators[idx].newpvt = resamp_new;
translators[idx].destroy = resamp_destroy;
translators[idx].framein = resamp_framein;
- translators[idx].desc_size = sizeof(SpeexResamplerState *);
+ translators[idx].desc_size = 0;
translators[idx].buffer_samples = (OUTBUF_SIZE / sizeof(int16_t));
translators[idx].buf_size = OUTBUF_SIZE;
ast_format_set(&translators[idx].src_format, id_list[x], 0);
More information about the asterisk-commits
mailing list