1

I'm developing a Windows Forms app in C# using VS 2019. I'm using the WMPLib, I created a WindowsMediaPlayer:

        WMPLib.WindowsMediaPlayer player = new WMPLib.WindowsMediaPlayer();
        player.URL = "song.wav";
        player.controls.play();

When the song ends it doesn't restart. I need to play this song on a loop, how can I do this??

Dev
  • 51
  • 3
  • [IWMPSettings::setMode](https://learn.microsoft.com/en-us/windows/win32/wmp/wmplibiwmpsettings-iwmpsettings-setmode--vb-and-c) – Jimi Feb 20 '22 at 10:42

0 Answers0