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

📄 dspoutalsa.h

📁 KphoneSI (kpsi) is a SIP (Session Initiation Protocol) user agent for Linux, with which you can in
💻 H
字号:
#ifndef DSPOUTALSA_H_INCLUDED#define DSPOUTALSA_H_INCLUDED#include <alsa/asoundlib.h>#include "dspout.h"class DspOutAlsa : public DspOut{public:	/**	 * Constructs a DspOutAlsa object representing the given	 * filename.  Default is default.	 */	DspOutAlsa( const QString &fileName = "default" ); //Changed by bobosch	/**	 * Destructor.  Will close the device if it is open.	 */	virtual ~DspOutAlsa( void );	bool openDevice( DeviceMode mode );	bool writeBuffer( void );	unsigned int readableBytes( void );	bool readBuffer( int bytes );	int audio_fd;private:	int err;	snd_pcm_t *handle;	snd_pcm_hw_params_t *hw_params;	snd_pcm_uframes_t buffer_size;	QString devname;         // device filename	unsigned int rate;};#endif  // DSPOUTALSA_H_INCLUDED

⌨️ 快捷键说明

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