⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 st_cstr_0.cc

📁 这是处理语音信号的程序
💻 CC
字号:
// file: st_cstr_0.cc//// isip include files//#include "state.h"#include "state_constants.h" // method: destructor//// arguments: none//// return: none//// this is the destructor for the class//State::~State() {  // free memory in scale  //  if (scale_d != (float_4*)NULL) {    delete [] scale_d;    scale_d = (float_4*)NULL;  }    // free memory in weights  //  if (weights_d != (float_4*)NULL) {    delete [] weights_d;    weights_d = (float_4*)NULL;  }    // free memory in mean  //  if (mean_d != (float_4**)NULL) {    for (int_4 i = 0; i < num_mixtures_d; i++) {      if (mean_d[i] != (float_4*)NULL) {	delete [] mean_d[i];	mean_d[i] = (float_4*)NULL;      }    }    delete [] mean_d;    mean_d = (float_4**)NULL;  }    // free memory in covar  //  if (covar_d != (float_4**)NULL) {    for (int_4 i = 0; i < num_mixtures_d; i++) {      if (covar_d[i] != (float_4*)NULL) {	delete [] covar_d[i];	covar_d[i] = (float_4*)NULL;      }    }    delete [] covar_d;    covar_d = (float_4**)NULL;  }  // reset the mixture number  //  num_mixtures_d = STATE_NUM_MIXTURES;    // reset the frame and score  //  frame_d = (int_4)-1;  score_d = STATE_SCORE;      // exit gracefully  //}

⌨️ 快捷键说明

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