I am trying to loop an mp3 on button press using the mediaElement control as part of a WP7 app. I am using the MediaEnded event handler to reset to the beginning as follows:
{ mediaElement1.Position = TimeSpan.FromSeconds(0); mediaElement1.Play(); }
However, when I do this, I hear a pause each time the clip restarts. How can I loop the background music more seamlessly? When I loop the file in audacity, I don't hear any pause at all.
I am just starting to learn how to program so I apologize if this is a basic question. I searched and could not find an answer to this exact question.