R
Razvan Dragomirescu
Hello everyone,
I was just wondering if the OpenNETCF Sound Recorder
(OpenNETCF.Multimedia.Audio.Recorder) works on a Smartphone 2003 device. I
keep getting an IOException when trying to record. Here's my code:
------------------------------------------
public void recordSound()
{
Recorder r = new Recorder();
FileStream fs = File.OpenWrite(@"test.wav");
r.RecordFor(fs, 10, SoundFormats.Mono16bit44kHz);
}
---------------------------------------------------------------
Also, what is the expected behaviour of this class? Does it write sound
samples to the output stream as it collects them? Or does it wait for the
recording interval to complete, then it outputs it all to the stream? My
intention is to monitor the input in real time, is this doable?
Thanks,
Razvan
--
Razvan Dragomirescu
Chief Technology Officer
SIMEDA GmbH
www.simeda.com
I was just wondering if the OpenNETCF Sound Recorder
(OpenNETCF.Multimedia.Audio.Recorder) works on a Smartphone 2003 device. I
keep getting an IOException when trying to record. Here's my code:
------------------------------------------
public void recordSound()
{
Recorder r = new Recorder();
FileStream fs = File.OpenWrite(@"test.wav");
r.RecordFor(fs, 10, SoundFormats.Mono16bit44kHz);
}
---------------------------------------------------------------
Also, what is the expected behaviour of this class? Does it write sound
samples to the output stream as it collects them? Or does it wait for the
recording interval to complete, then it outputs it all to the stream? My
intention is to monitor the input in real time, is this doable?
Thanks,
Razvan
--
Razvan Dragomirescu
Chief Technology Officer
SIMEDA GmbH
www.simeda.com