KB1IBH
August 22nd, 2007, 10:58 PM
hello everybody... im having some problems fixing two errors i get after following someones instructions given on how to save recorded audio as a WAV file... im curious to see if someone can help me...
this project is a combination of two different projects
this one: http://www.codeproject.com/cs/media/cswavrec.asp?msg=1743046 (you can see the message regarding combining the two projects at the bottom)
and this one: http://www.codeproject.com/csharp/CSharpRipper.asp
ive put everything into a solution, zipped it, and threw it on my server here:
http://mike-soft.com/code/cswavrec.zip
i compiled it using microsoft visual c# 2005 express edition... where i get 11 warnings and 2 errors... the errors are as follows:
The best overloaded method match for 'Yeti.MMedia.WaveWriter.WaveWriter(System.IO.Stream, WaveLib.WaveFormat)' has some invalid arguments
and
Error 12 Argument '2': cannot convert from 'WaveLib.WaveFormat [C:\cswavrec\WaveNative.cs(25)]' to 'WaveLib.WaveFormat [c:\cswavrec\yeti.mmedia\bin\Release\yeti.mmedia.dll]'
any help is GREATLY appreciated, as this will be used in a small educational radio station
this project is a combination of two different projects
this one: http://www.codeproject.com/cs/media/cswavrec.asp?msg=1743046 (you can see the message regarding combining the two projects at the bottom)
and this one: http://www.codeproject.com/csharp/CSharpRipper.asp
ive put everything into a solution, zipped it, and threw it on my server here:
http://mike-soft.com/code/cswavrec.zip
i compiled it using microsoft visual c# 2005 express edition... where i get 11 warnings and 2 errors... the errors are as follows:
The best overloaded method match for 'Yeti.MMedia.WaveWriter.WaveWriter(System.IO.Stream, WaveLib.WaveFormat)' has some invalid arguments
and
Error 12 Argument '2': cannot convert from 'WaveLib.WaveFormat [C:\cswavrec\WaveNative.cs(25)]' to 'WaveLib.WaveFormat [c:\cswavrec\yeti.mmedia\bin\Release\yeti.mmedia.dll]'
any help is GREATLY appreciated, as this will be used in a small educational radio station