Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

Hi, all:

I am trying to play a mp3 file repeatedly, I use IMedia interface and code like this:
int ret = IMEDIA_SetMediaParm(pIMedia, MM_PARM_PLAY_REPEAT, 0, 0);
if (ret == SUCCESS)
IMEDIA_Play(pIMedia);
it looked the first call is something wrong. for it returned EUNSUPPORT.
Can anybody tell me why? and How to repeatedly play sound?
Thank you!

Try calling play in the Callback for SetMediaParm (if you get one) IMedia seems to like only doing one thing at a time...
-Chris

Try calling play in the Callback for SetMediaParm (if you get one) IMedia seems to like only doing one thing at a time...
-Chris