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

📄 sound.h

📁 ears-0.32, linux下有用的语音信号处理工具包
💻 H
字号:
#ifndef Sound_h#define Sound_h#pragma interface#include <string>#include "others/checkable.h"class Sound : public Checkable       // Bridge to modules/sound_interface{  friend class TrainEarsProtocol;  friend class ListenProtocol;public:  static Sound* Instance();  static Sound* UncheckedInstance();  static Sound& InstanceRef();  void close();  void operator >> (class sndblock&);  void deaf_mic() const;  void full_mic() const;  void empty_buffer() const;  void save_sample (const class sample&, const string&);    virtual const string& Name() const;  virtual bool bad() const;  virtual const string& ErrorMsg() const;private:  explicit Sound (int, int);  virtual ~Sound();  static Sound* instance_;  class SoundInterface* s_;};#endif

⌨️ 快捷键说明

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