BREW平台下,怎么让背景音乐循环播放?
/* 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 */