pr_recording.h

来自「ears-0.32, linux下有用的语音信号处理工具包」· C头文件 代码 · 共 27 行

H
27
字号
#ifndef RecordingProtocol_h#define RecordingProtocol_h#pragma interface#include "protocol.h"class RecordingProtocol // A RecordingProtocol session.  This object listens to the mic and gives// back a pattern suited for your recognizer.  It can also give// the underlying sample.{public:  RecordingProtocol ();  virtual ~RecordingProtocol();  virtual void start();  const class pattern& getPattern() { return *pat_; }  const class sample& sample()      { return *sample_; }  private:  class speechstream* speech_;  class sample* sample_;  class pattern* pat_;};#endif

⌨️ 快捷键说明

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