dbgl_04.cc

来自「这是一个从音频信号里提取特征参量的程序」· CC 代码 · 共 64 行

CC
64
字号
// file: $isip/class/shell/DebugLevel/dbgl_04.cc// version: $Id: dbgl_04.cc,v 1.3 2000/11/02 16:32:16 picone Exp $//// isip include files//#include "DebugLevel.h"// method: write//// arguments://  Sof& sof: (input) sof file object//  long tag: (input) sof object instance tag//  String& name: (input) sof object instance name//// return: a boolean value indicating status//// this method writes an object to an Sof file//boolean DebugLevel::write(Sof& sof_a, long tag_a, const String& name_a) const {  // declare local variables  //  long obj_size;  // get the size of the object inside the Sof file  //  if (sof_a.isText()) {    obj_size = Sof::ANY_SIZE;  }  else {    obj_size = sofSize();  }    // put the object into the sof file's index  //  if (!sof_a.put(name_a, tag_a, obj_size)) {    return false;  }  // exit gracefully  //  return writeData(sof_a);}// method: writeData//// arguments://  Sof& sof: (input) sof file object//  const String& pname: (input) parameter name//// return: a boolean value indicating status//// this method writes an object to an Sof file. it assumes that the// Sof file is already positioned correctly.//boolean DebugLevel::writeData(Sof& sof_a, const String& pname_a) const {    // call the NameMap write function so we get those cute little  // double quotes surrounding the value.  //  return LEVEL_MAP.writeElementData(sof_a, pname_a, value_d);}

⌨️ 快捷键说明

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