/* Music Play */
if(SUCCESS != ISHELL_CreateInstance(pMe->a.m_pIShell,AEECLSID_MEDIAUTIL,(void **)&pMe->plMediaUtil) )
return FALSE;
pMe->date.clsData = MMD_FILE_NAME;
pMe->date.pData = "back.mid";
pMe->date.dwSize = 0;
if(SUCCESS != IMEDIAUTIL_CreateMedia(pMe->plMediaUtil,&pMe->date,&pMe->pIMedia) )
return FALSE;
IMEDIA_SetMediaData(pMe->pIMedia,&pMe->date);
IMEDIA_Play(pMe->pIMedia);
/* Music Play */
这里音乐只播放一次就停了,怎么让循环播放?
------解决方案--------------------------------------------------------
注册回调,在回调中检测音乐结束的事件,然后再重启音乐播放
------解决方案--------------------------------------------------------
检测状态,好像是。。MM_STATUS_DONE