dec_set_10.cc

来自「这是处理语音信号的程序」· CC 代码 · 共 36 行

CC
36 行
字号
// file: dec_set_10.cc//// isip include files//#include "decoder.h"#include "decoder_constants.h" // method: set_beams_cc//// arguments:// float_4* value : (input) beam widths//// return: logical_1 indicating status//// this method sets the beam widths//logical_1 Decoder::set_beams_cc(float_4* value_a) {  // allocate memory for the beams  //  if (beam_d == (float_4*)NULL) {    beam_d = new float_4[num_levels_d];  }    // set the beam widths  //  for (int_4 i = 0; i < num_levels_d; i++) {    beam_d[i] = value_a[i];  }    // exit gracefully  //  return ISIP_TRUE;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?