I m developping in an application in Csharp and I want to read a sound file in an external sound card,is there a function which give me the possibility to play sound using the name of the sound card and the name of the audio file . So if I want to create 3 buttons and I have 3 sound cards and each button is related to a sound card (for example button1 is related to sound card1 ...) which code can help me to play an audio file in the specific sound card ??? Please give me a code,because I m preparing a general alarm and such code will help me alot.
事先感谢你