diff options
Diffstat (limited to 'libspeex/modes.c')
-rw-r--r-- | libspeex/modes.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libspeex/modes.c b/libspeex/modes.c index 360a177..4c3ae55 100644 --- a/libspeex/modes.c +++ b/libspeex/modes.c @@ -150,6 +150,8 @@ static const split_cb_params split_cb_sb = { 0, }; +#ifndef DISABLE_WIDEBAND + /* Split-VQ innovation for high-band wideband */ static const split_cb_params split_cb_high = { 8, /*subvect_size*/ @@ -169,6 +171,8 @@ static const split_cb_params split_cb_high_lbr = { 0, }; +#endif + /* 2150 bps "vocoder-like" mode for comfort noise */ static const SpeexSubmode nb_submode1 = { 0, @@ -454,7 +458,11 @@ static const SpeexSubmode wb_submode2 = { /*Innovation quantization*/ split_cb_search_shape_sign, split_cb_shape_sign_unquant, +#ifdef DISABLE_WIDEBAND + NULL, +#else &split_cb_high_lbr, +#endif #ifdef FIXED_POINT 27853, 19661, 8192, -1, #else @@ -479,7 +487,11 @@ static const SpeexSubmode wb_submode3 = { /*Innovation quantization*/ split_cb_search_shape_sign, split_cb_shape_sign_unquant, +#ifdef DISABLE_WIDEBAND + NULL, +#else &split_cb_high, +#endif #ifdef FIXED_POINT 24576, 22938, 1638, -1, @@ -504,7 +516,11 @@ static const SpeexSubmode wb_submode4 = { /*Innovation quantization*/ split_cb_search_shape_sign, split_cb_shape_sign_unquant, +#ifdef DISABLE_WIDEBAND + NULL, +#else &split_cb_high, +#endif #ifdef FIXED_POINT 24576, 24576, 0, -1, #else |