tr_phn_phone_2.cc

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

CC
33
字号
// file: tr_phn_phone_2.cc//// isip include files//#include "train_phone.h"#include "train_phone_constants.h"// method: set_phones_cc//// arguments://  int_4 nph : (input) number of phones//  int_4* phones : (input) the phones to set//// return: logical_1 indicating status//// this method sets the phones pointer//logical_1 Train_Phone::set_phones_cc(int_4 nph_a, int_4* phones_a) {  // set the phone indices  //  num_phones_d = nph_a;  phones_d = new int_4[num_phones_d];  for (int_4 i = 0; i < num_phones_d; i++) {    phones_d[i] = phones_a[i];  }    // exit gracefully  //  return ISIP_TRUE;}

⌨️ 快捷键说明

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