C# and MCI

Started by
2 comments, last by Rob Loach 17 years, 11 months ago
Hi, I'm curious if Microsoft made a MCI wrapper yet for .NET 2.0. The goal is to play multiple sounds at once and MCI was helpful in the past using C++. Is my only choice to pinvoke a certain dll?
Advertisement
Nope. There is a class for it.
Sound Player Class
System.Media.SoundPlayer uses WinMM, not MCI. For example, I tried a sample application and SoundPlayer can only play one sound at a time. Does anyone have any insight on this? I need multiple sounds to be played at once, and it's not worth using the DirectX runtime just for this one purpose.
I recommend using something like FMOD Ex. You can also use OpenAL through Tao.OpenAl.
Rob Loach [Website] [Projects] [Contact]

This topic is closed to new replies.

Advertisement