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

📄 sndwav.h

📁 wxWidgets 2.8.9 Downloads
💻 H
字号:
// --------------------------------------------------------------------------// Name: sndwav.h// Purpose:// Date: 08/11/1999// Author: Guilhem Lavaux <lavaux@easynet.fr> (C) 1999// CVSID: $Id: sndwav.h 35650 2005-09-23 12:56:45Z MR $// License:    wxWindows license// --------------------------------------------------------------------------#ifndef _WX_SNDWAV_H#define _WX_SNDWAV_H#include "wx/defs.h"#include "wx/string.h"#include "wx/stream.h"#include "wx/datstrm.h"#include "wx/mmedia/defs.h"#include "wx/mmedia/sndbase.h"#include "wx/mmedia/sndcodec.h"#include "wx/mmedia/sndfile.h"//// WAVE codec//class WXDLLIMPEXP_MMEDIA wxSoundWave: public wxSoundFileStream {public:    wxSoundWave(wxInputStream& stream, wxSoundStream& io_sound);    wxSoundWave(wxOutputStream& stream, wxSoundStream& io_sound);    ~wxSoundWave();        bool CanRead();    wxString GetCodecName() const;    protected:    bool PrepareToPlay();     bool PrepareToRecord(wxUint32 time);    bool FinishRecording();    bool RepositionStream(wxUint32 position);        wxUint32 GetData(void *buffer, wxUint32 len);    wxUint32 PutData(const void *buffer, wxUint32 len);        bool HandleOutputPCM(wxDataInputStream& data, wxUint32 len,                         wxUint16 channels, wxUint32 sample_fq,                         wxUint32 byte_p_sec, wxUint16 byte_p_spl,                         wxUint16 bits_p_spl);    bool HandleOutputMSADPCM(wxDataInputStream& data, wxUint32 len,                             wxUint16 channels, wxUint32 sample_fq,                             wxUint32 byte_p_sec, wxUint16 byte_p_spl,                             wxUint16 bits_p_spl);    bool HandleOutputG721(wxDataInputStream& data, wxUint32 len,                          wxUint16 channels, wxUint32 sample_fq,                          wxUint32 byte_p_sec, wxUint16 byte_p_spl,                          wxUint16 bits_p_spl);    wxSoundFormatBase *HandleInputPCM(wxDataOutputStream& data);    wxSoundFormatBase *HandleInputG72X(wxDataOutputStream& data);protected:    off_t m_base_offset;};#endif

⌨️ 快捷键说明

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