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

📄 dspoutoss.h

📁 KphoneSI (kpsi) is a SIP (Session Initiation Protocol) user agent for Linux, with which you can in
💻 H
字号:
#ifndef DSPOUTOSS_H_INCLUDED#define DSPOUTOSS_H_INCLUDED#include <sys/soundcard.h>#include "dspout.h"/** * @short OSS implementation of DspOut. * @author Billy Biggs <vektor@div8.net> * * This is the OSS implementation of DspOut for the /dev/dsp* * devices.  Note that you cannot change how many fragments * this class requests, yet. */class DspOutOss : public DspOut{public:	/**	 * Constructs a DspOutOss object representing the given	 * filename.  Default is /dev/dsp.	 */	DspOutOss( const QString &fileName = "/dev/dsp" );	/**	 * Destructor.  Will close the device if it is open.	 */	virtual ~DspOutOss( void );	bool openDevice( DeviceMode mode );	bool openDevice( int exist_fs );	bool writeBuffer( void );	unsigned int readableBytes( void );	bool readBuffer( int bytes );	int audio_fd;private:	QString filename;         // device filename	bool audio_stereo;};#endif  // DSPOUTOSS_H_INCLUDED

⌨️ 快捷键说明

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