Has anyone managed to port the "A full-duplex audio player in C# using the waveIn/waveOut APIs" - http://www.codeproject.com/cs/media/cswavrec.asp, to Compact Framework
Thanks
.NET Compact Framework
WaveLib.WaveFormat fmt = new WaveLib.WaveFormat(44100, 16, 2);
m_Player = new WaveLib.WaveOutPlayer(-1, fmt, 16384, 3, new WaveLib.BufferFillEventHandler(Filler));
m_Recorder = new WaveLib.WaveInRecorder(-1, fmt, 16384, 3, new WaveLib.BufferDoneEventHandler(DataArrived));
I tried changing the frequency, bits and channel, bufferSize and bufferCount but the result is the same bad..
What I make wrong Have to change something else expect renaming the winmm.dll I have a Mio P550, WM5 if that helps...
PK
WaveFormat fmt = new WaveFormat(/*Samplefrequency*/ 8000, /*bitrate*/ 16, /*channels*/1);