Hi
i want to record voice and send it throw Bluetooth stream , the problem is the recorder accepts only I.O Stream
And write at the 'stream' without using (stream.write),
The Bluetooth stream I could write byte
How to connected them so I could record and write at the same time (could I use memorystream)
Thanks
i want to record voice and send it throw Bluetooth stream , the problem is the recorder accepts only I.O Stream
And write at the 'stream' without using (stream.write),
Code:
''using openNETCF Dim Stream1 As Stream Stream1 = File.OpenWrite("\My Documents\" & txtFileName.Text & ".wav") m_Recorder = New OpenNETCF.Media.WaveAudio.Recorder m_Recorder.RecordFor(Stream1, 5400,OpenNETCF.Media.WaveAudio.SoundFormats.Stereo16bit11kHz) '' accept only i.o stream and record into it
Code:
''using InTheHand 32feet.NET dim Buffer1 As Byte Dim stream As System.IO.Stream = Nothing stream = client.GetStream() '' return i.o stream stream.Write(Buffer1, 0, BufferLen)
Thanks
Comment