[.net] playing mp3 files
I think that you might want to read this thread first. You might end up not wanting to play MP3s any more.
But if you really want to, this might be worth looking at, though I've never used it myself.
But if you really want to, this might be worth looking at, though I've never used it myself.
For basic playback, you could add quartz.dll (somewhere in system32 folder) to your references and then do the following.
QuartzTypeLib.FilgraphManager graphManager = new QuartzTypeLib.FilgraphManager();
graphManager.RenderFile("c:\\mysong.mp3");
graphManager.Run();
Console.ReadLine();
graphManager.Stop();
QuartzTypeLib.FilgraphManager graphManager = new QuartzTypeLib.FilgraphManager();
graphManager.RenderFile("c:\\mysong.mp3");
graphManager.Run();
Console.ReadLine();
graphManager.Stop();
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement