Friday, March 4, 2011

Playing Wav files with .NET - CodeProject

The old .NET Framework logoImage via WikipediaIntroduction to article

This article illustrates how simple it is to add sound functionality to any .NET application. I use the PlaySound Win32 function located in the winmm.dll library. The sample does not include all the different flags associated with fdwSound; these can be acquired in a number of different ways. Try opening a Managed C++ project and type the PlaySound function in there. It should give you the signature. For any of the fdwSound constants, you can type them in, and either hover the mouse over to get the value, or right click and select Go to definition to see where they are defined.

Playing Wav files with .NET - CodeProject
Enhanced by Zemanta

No comments: