Playing MIDI Files Directly From The Res - 项目摘要 |
摘要
| 管理 |
论坛 文档
| 软件包 |
|
|
|
项目描述: |
It is based on a sample in the DirectX sdk (called mstream). The conversion into a C++ class makes it much easier to use. The CMIDI class makes it easy to play a MIDI file directly from the resource   One can use the class to play MIDI files, too. In this case you have to load the entire file into memory and to pass the pointer to the beginning of the buffer to the Create() method.
从Resource中直接播放MIDI文件
这个类基于DirectX sdk中的一个示例。这种到C++类的转变使它的使用更加容易。CMIDI类使播放来自resource中的MIDI文件变的容易。这时候你必须把整个文件放在内存里,并且把指针放到缓冲的头部的Create()方法上。
来源: http://www.codeguru.com/multimedia/midi.shtml |
类别: |
|
发布者:
cbd002
|
|
最新发布源码包 |
软件包 |
版本号 |
日期 |
本地下载 |
midi_demo |
 1.0  |
2004-04-19 |
下载 |
|
|