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

📄 lcysinedlg.h

📁 声卡示波器程源代码,基于个人电脑的示波器带有触发功能
💻 H
字号:
// lcysineDlg.h : header file
//

#if !defined(AFX_LCYSINEDLG_H__15932AE7_FC5E_11D6_B9EE_AC4E140DD047__INCLUDED_)
#define AFX_LCYSINEDLG_H__15932AE7_FC5E_11D6_B9EE_AC4E140DD047__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CLcysineDlg dialog

class CLcysineDlg : public CDialog
{
// Construction
public:
/********************新加的内容开始*****************************/
	static int lcy_Callback(void *inputBuffer, void *outputBuffer,
                          unsigned long framesPerBuffer,
                          double outTime, void *userData );
/**************************新加的内容结束***********************/
	CLcysineDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CLcysineDlg)
	enum { IDD = IDD_LCYSINE_DIALOG };
	CButton	m_radio22050;
	long	m_edit1;
	long	m_edit2;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CLcysineDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CLcysineDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnRadio1();
	afx_msg void OnRadio2();
	afx_msg void OnRadio3();
	afx_msg void OnRadio4();
	afx_msg void OnRadio5();
	afx_msg void OnRadio6();
	afx_msg void OnRadio7();
	afx_msg void OnRadio8();
	afx_msg void OnChangeEdit1();
	afx_msg void OnChangeEdit2();
	afx_msg void OnButton1();
	afx_msg void OnButton2();
	afx_msg void OnButton3();
	afx_msg void OnButton4();
	afx_msg void OnClose();
	afx_msg void OnTimer(UINT nIDEvent);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
/********************新加的内容开始**********/
	void lcy_CloseSoundCard(void);
	void lcy_OpenSoundCard(void);
	void *stream;	
	unsigned long m_lcy_f;
    unsigned long m_time;
	bool m_SetTimerNums;    
	bool m_OpenNums;
	static unsigned long m_SAMPLE_RATE;
	static float* m_sinaDatePr;
	static unsigned long m_Index;
/**************************新加的内容结束*******/
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_LCYSINEDLG_H__15932AE7_FC5E_11D6_B9EE_AC4E140DD047__INCLUDED_)

⌨️ 快捷键说明

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