3 3368aa Unregistered / Unconfirmed GUEST, unregistred user! 2003-09-21 #1 怎么用MCI播放内存中的音乐,比如MP3,MIDI? 昨天看了一夜资料,也没有一个头绪, 所以才来问的 大家一定要帮忙呀!
Q QBD Unregistered / Unconfirmed GUEST, unregistred user! 2003-11-24 #2 Windows可能不会让你直接访问内存,需要调用DRV文件,看看CIH的源代码,可能有所收获!
A app2001 Unregistered / Unconfirmed GUEST, unregistred user! 2004-02-06 #3 uses mmsystem //播放音乐 MCISendString('OPEN e:/1.MID TYPE SEQUENCER ALIAS NN', '', 0, 0); MCISendString('PLAY NN FROM 0', '', 0, 0); MCISendString('CLOSE ANIMATION', '', 0, 0); end; //停止播放 MCISendString('OPEN e:/1.MID TYPE SEQUENCER ALIAS NN', '', 0, 0); MCISendString('STOP NN', '', 0, 0); MCISendString('CLOSE ANIMATION', '', 0, 0);
uses mmsystem //播放音乐 MCISendString('OPEN e:/1.MID TYPE SEQUENCER ALIAS NN', '', 0, 0); MCISendString('PLAY NN FROM 0', '', 0, 0); MCISendString('CLOSE ANIMATION', '', 0, 0); end; //停止播放 MCISendString('OPEN e:/1.MID TYPE SEQUENCER ALIAS NN', '', 0, 0); MCISendString('STOP NN', '', 0, 0); MCISendString('CLOSE ANIMATION', '', 0, 0);