Hi,
I am recording a wave file using the MCI. Currently It rcords in the PCM
format. Now i want to save the file in the CCITT format (any of the
algorithms will do).
I see MSDN and i come to knw that i need to use the ""SETAUDIO"" where i can
set the FORMAT.... but i am not able to do it
On Clicking Record Button
mciSendString("open new type digitalaudio alias capture1", null, 0,
IntPtr.Zero);
mciSendString("setaudio digitalaudio algorithm g721",null, 0, IntPtr.Zero);
mciSendString("setaudio record on",null, 0, IntPtr.Zero);
mciSendString("record capture1", null, 0, IntPtr.Zero);
On Clicking the Stop
sCommand = "stop capture1";
mciSendString(sCommand, null, 0, IntPtr.Zero);
sCommand = "save capture1 " + sFileName;
mciSendString(sCommand, null, 0, IntPtr.Zero);
mciSendString("close capture1",null,0,IntPtr.Zero);
Am i missing Something here
thanks
Venugopal