Hi friends
I am using c#2005
I will play the sound file (.wav)
It it could not play
I am using below code
public class PlayVoiceFile
{
[DllImport("WinM M.dll")]
public static extern bool PlaySound(strin g fname, int Mod, int flag);
}
PlayVoiceFile.P laySound("filen ame.wav", 0, SND_ASYNC);
but that file play manually (win media player)
Thanks in advance
Venky
I am using c#2005
I will play the sound file (.wav)
It it could not play
I am using below code
public class PlayVoiceFile
{
[DllImport("WinM M.dll")]
public static extern bool PlaySound(strin g fname, int Mod, int flag);
}
PlayVoiceFile.P laySound("filen ame.wav", 0, SND_ASYNC);
but that file play manually (win media player)
Thanks in advance
Venky
Comment