c# - wmplib - playing 2 mp3 files but can get them in synic

Posted by Ciarán on Stack Overflow See other posts from Stack Overflow or by Ciarán
Published on 2010-04-02T03:04:07Z Indexed on 2010/04/02 3:13 UTC
Read the original article Hit count: 588

Filed under:
|

I have 2 windowsMediaPlayer objects setup Both objects have the same mp3 song file but when I play them at the same time they are out of sync by a few seconds. The code I call to play them looks like this

     sound1.controls.play();
     sound2.controls.play();

Is it just because one play method is executed before the other and thus one fast then the other. Is their anyway I could sync them? I have tired messing with the rate of one track to match the other, but not getting it prefect.

Thanks

© Stack Overflow or respective owner

Related posts about wmplib

Related posts about c#