Click here to Skip to main content
15,886,110 members
Articles / Programming Languages / C#

A simple C# Wave editor, part 1: Background and analysis

Rate me:
Please Sign up or sign in to vote.
4.77/5 (80 votes)
5 Aug 200411 min read 355.5K   8.2K   132  
The first phase of a RIFF/Wave editing "swiss army knife", in which we'll learn how to extract all the data present in common Wave files and store it in an XML document.
#if !defined(AFX_MMWAVEEDITXPPG_H__02DAA674_4ABB_11D3_9A58_0080C605ADA4__INCLUDED_)
#define AFX_MMWAVEEDITXPPG_H__02DAA674_4ABB_11D3_9A58_0080C605ADA4__INCLUDED_

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

// MMWaveEditXPpg.h : Declaration of the CMMWaveEditXPropPage property page class.

////////////////////////////////////////////////////////////////////////////
// CMMWaveEditXPropPage : See MMWaveEditXPpg.cpp.cpp for implementation.

class CMMWaveEditXPropPage : public COlePropertyPage
{
	DECLARE_DYNCREATE(CMMWaveEditXPropPage)
	DECLARE_OLECREATE_EX(CMMWaveEditXPropPage)

// Constructor
public:
	CMMWaveEditXPropPage();

// Dialog Data
	//{{AFX_DATA(CMMWaveEditXPropPage)
	enum { IDD = IDD_PROPPAGE_MMWAVEEDITX };
		// NOTE - ClassWizard will add data members here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_DATA

// Implementation
protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

// Message maps
protected:
	//{{AFX_MSG(CMMWaveEditXPropPage)
		// NOTE - ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

};

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

#endif // !defined(AFX_MMWAVEEDITXPPG_H__02DAA674_4ABB_11D3_9A58_0080C605ADA4__INCLUDED)

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
Canada Canada
Jonathan Kade is a native of Detroit, MI. He's interested in multimedia, hardware/software interfacing, working with low-level data, and low-level programming in general.

Comments and Discussions