[xiph-commits] r11754 - trunk/speex/libspeex
jm at svn.xiph.org
jm at svn.xiph.org
Tue Aug 8 08:27:24 PDT 2006
Author: jm
Date: 2006-08-08 08:27:22 -0700 (Tue, 08 Aug 2006)
New Revision: 11754
Modified:
trunk/speex/libspeex/sb_celp.c
Log:
VBR max bit-rate should work properly for UWB now.
Modified: trunk/speex/libspeex/sb_celp.c
===================================================================
--- trunk/speex/libspeex/sb_celp.c 2006-08-08 15:01:51 UTC (rev 11753)
+++ trunk/speex/libspeex/sb_celp.c 2006-08-08 15:27:22 UTC (rev 11754)
@@ -1445,6 +1445,8 @@
} else {
st->vbr_max_high = 1800;
}
+ if (st->subframeSize==80)
+ st->vbr_max_high = 1800;
low_rate = st->vbr_max - st->vbr_max_high;
speex_encoder_ctl(st->st_low, SPEEX_SET_VBR_MAX_BITRATE, &low_rate);
}
More information about the commits
mailing list