Midi.h
上传用户:garry_shen
上传日期:2015-04-15
资源大小:45647k
文件大小:2k
- #ifndef _MIDI_
- #define _MIDI_
- /*
- #include <strmif.h>
- #include <control.h>
- #include <evcode.h>
- #include <uuids.h>
- #include <assert.h>
- #if !defined(AFX_MUSIC_H__86E74FCC_F274_11D2_BBB1_00E02917BC84__INCLUDED_)
- #define AFX_MUSIC_H__86E74FCC_F274_11D2_BBB1_00E02917BC84__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- class CMusicPlayer
- {
- public:
- CMusicPlayer();
- virtual ~CMusicPlayer();
-
- BOOL InitMP3();
- BOOL OpenFile(LPCTSTR);
- BOOL CreateFilterGraph( void );
- void DeleteContents( void );
-
- void Play();
- void CheckPlayEnd(); // loop, 浪琩琌