/// <summary>Build wideband submodes.</summary> /// <remarks>Build wideband submodes.</remarks> /// <returns>the wideband submodes.</returns> protected static org.xiph.speex.SubMode[] buildWbSubModes() { org.xiph.speex.HighLspQuant highLU = new org.xiph.speex.HighLspQuant(); org.xiph.speex.SplitShapeSearch ssCbHighLbrSearch = new org.xiph.speex.SplitShapeSearch (40, 10, 4, hexc_10_32_table, 5, 0); org.xiph.speex.SplitShapeSearch ssCbHighSearch = new org.xiph.speex.SplitShapeSearch (40, 8, 5, hexc_table, 7, 1); org.xiph.speex.SubMode[] wbSubModes = new org.xiph.speex.SubMode[SB_SUBMODES]; wbSubModes[1] = new org.xiph.speex.SubMode(0, 0, 1, 0, highLU, null, null, .75f, .75f, -1, 36); wbSubModes[2] = new org.xiph.speex.SubMode(0, 0, 1, 0, highLU, null, ssCbHighLbrSearch , .85f, .6f, -1, 112); wbSubModes[3] = new org.xiph.speex.SubMode(0, 0, 1, 0, highLU, null, ssCbHighSearch , .75f, .7f, -1, 192); wbSubModes[4] = new org.xiph.speex.SubMode(0, 0, 1, 1, highLU, null, ssCbHighSearch , .75f, .75f, -1, 352); return wbSubModes; }
/// <summary>Build ultra-wideband submodes.</summary> /// <remarks>Build ultra-wideband submodes.</remarks> /// <returns>the ultra-wideband submodes.</returns> protected static org.xiph.speex.SubMode[] buildUwbSubModes() { org.xiph.speex.HighLspQuant highLU = new org.xiph.speex.HighLspQuant(); org.xiph.speex.SubMode[] uwbSubModes = new org.xiph.speex.SubMode[SB_SUBMODES]; uwbSubModes[1] = new org.xiph.speex.SubMode(0, 0, 1, 0, highLU, null, null, .75f, .75f, -1, 2); return uwbSubModes; }