📄 pr_recording.h
字号:
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -