PDA

View Full Version : C# code to record voice call


babinic
20-03-2008, 11:26 AM
Hi Everybody,

I need to record voice call conversation (Windows mobile 5.0 ) by C sharp.

I have used following code to record a sound


Stream op = File.OpenWrite(@"\My Documents\Mysound.wav");
rec.RecordFor(op,10000,OpenNETCF.Media.WaveAudio.S oundFormats.Mono16bit11kHz);
op.Close();

but it is not working

Can anybody help me I am new in Windows Mobile development.


Thanx..