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

Developer

Forums

Forums:

HI,

Whenever we use IMEDIA_Pause we get MM_STATUS_PAUSE or MM_PAUSE_FAIL
as status in callback.

Apart from this the function will return one of the value as below.

SUCCESS, if successful
Error code, if otherwise:
EBADPARM: Bad parm in stream
EBADSTATE: Cannot play in the current state
EITEMBUSY: IMedia Interface is currently busy. Try after some time.
EUNSUPPORTED: API not supported by the class

So my question is need we to handle these errors also or whenever the function gets success it will retrun MM_STATUS_PAUSE and for any kind of error it will return MM_PAUSE_FAIL???

Please reply..

Thanx in advance..

Mangesh

Hi all,
So, my code can pause the IMEDIA object successfully using IMEDIA_Pause(). I need to resume the file from the exact location the media was paused. I know I have to use IMEDIA_RegisterNotify() and IMEDIA_Resume(). But I think I cannot synchronize the process. Can anybody help me by telling the exact step to use IMEDIA_Resume to fulfill the task? :confused:
Thanks in advance, all.

Hi all,
So, my code can pause the IMEDIA object successfully using IMEDIA_Pause(). I need to resume the file from the exact location the media was paused. I know I have to use IMEDIA_RegisterNotify() and IMEDIA_Resume(). But I think I cannot synchronize the process. Can anybody help me by telling the exact step to use IMEDIA_Resume to fulfill the task? :confused:
Thanks in advance, all.