ISOUNDPLAYER_ can not play | developer.brewmp.com ISOUNDPLAYER_ can not play | developer.brewmp.com

Developer

ISOUNDPLAYER_ can not play

Forums:

can anyone help

ISHELL_CreateInstance(pApp->a.m_pIShell, AEECLSID_SOUNDPLAYER, (void **)&pApp->pISoundPlayer);
if(pApp->pISoundPlayer)
{

ISOUNDPLAYER_RegisterNotify(pApp->pISoundPlayer, Sound2_Callback, (void *)pApp);
ISOUNDPLAYER_Set(pApp->pISoundPlayer, SDT_FILE , "theme.mid");
ISOUNDPLAYER_Play(pApp->pISoundPlayer);

Have you checked any of the return values?

Have you checked any of the return values?

createInstance returned success. other calls void

createInstance returned success. other calls void

Is the callback function invoked?

Is the callback function invoked?