Hi,
I have an application that plays mp3 and wav files using ;-
QuartzTypeLib.FilgraphManager graphManager = new
QuartzTypeLib.FilgraphManager();
QuartzTypeLib.IMediaControl mc = (QuartzTypeLib.IMediaControl)graphManager;
mc.RenderFile(fileName);
mc.Run();
now the problem is I need to know when a wav or MP3 has finished! but i
don't know how to check the status of the play, or how to implement a
callback? Any help here would be greatly appreciated.
thanks in advance
magela@adelphia.net - 14 Apr 2006 03:04 GMT
Here's the solution:
if(mc.CurrentPosition==mc.Duration){
mc.CurrentPosition=0;
}
Magela