WaveDlg.h
上传用户:amei960
上传日期:2007-02-05
资源大小:143k
文件大小:2k
- // WaveDlg.h : header file
- //
- #if !defined(AFX_WAVEDLG_H__72A8C6AF_988F_4C61_9A83_FD1F823584CF__INCLUDED_)
- #define AFX_WAVEDLG_H__72A8C6AF_988F_4C61_9A83_FD1F823584CF__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- /////////////////////////////////////////////////////////////////////////////
- // CWaveDlg dialog
- #include "WaveOut.h"
- #include "WaveIn.h"
- #include "GsmCompress.h"
- #include "G729aCompress.h"
- #include "Filter.h"
- class CWaveDlg : public CDialog
- {
- // Construction
- public:
- CWaveDlg(CWnd* pParent = NULL); // standard constructor
- // Dialog Data
- //{{AFX_DATA(CWaveDlg)
- enum { IDD = IDD_WAVE_DIALOG };
- CStatic m_Show;
- //}}AFX_DATA
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CWaveDlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- HICON m_hIcon;
- // Generated message map functions
- //{{AFX_MSG(CWaveDlg)
- virtual BOOL OnInitDialog();
- afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
- afx_msg void OnPaint();
- afx_msg HCURSOR OnQueryDragIcon();
- afx_msg void OnStart();
- afx_msg void OnStop();
- afx_msg void OnStartplay();
- afx_msg void OnStopplay();
- virtual void OnCancel();
- //}}AFX_MSG
- afx_msg void OnOpenMessage(WPARAM wParam,LPARAM lParam);
- afx_msg void OnCloseMessage(WPARAM wParam,LPARAM lParam);
- afx_msg void OnDataMessage(WPARAM wParam,LPARAM lParam);
- DECLARE_MESSAGE_MAP()
- private:
- CWaveIn m_WaveIn;
- CWaveOut m_WaveOut;
- CCompress* m_Compress;
- CG729aCompress m_G729aCompress;
- CGsmCompress m_Gsm;
- BOOL bRecord;
- char buf[5000];
- int len;
- char buf1[5000];
- int len1;
- CRect rc;
- CFilter filter;
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_WAVEDLG_H__72A8C6AF_988F_4C61_9A83_FD1F823584CF__INCLUDED_)