LS,
I just downloaded Bass, Lame (all other DLL's) and ran the samples.
Maybe I should first of all mention that I use MS Visual Studio 2005 C#.
My goal is to simply save sounds and be able to play them at my wish.
I can compile and run the sample program "Encoder". When I press Record I see the program responds to my taping onto the microphone.
So the microphone works.
When I press Stop, it stops recording.
But when I look for rectest.mp3 I cannot find such a file on my entire drive.
The code at the startbutton is:
lame = new EncoderLAME(_recHandle);
lame.InputFile = null; //STDIN
lame.OutputFile = "rectest.mp3";
lame.LAME_Bitrate = (int)EncoderLAME.BITRATE.kbps_192;
lame.LAME_Mode = EncoderLAME.LAMEMode.Default;
lame.LAME_TargetSampleRate = (int)EncoderLAME.SAMPLERATE.Hz_44100;
lame.LAME_Quality = EncoderLAME.LAMEQuality.Quality;
Changing "rectest.mp3" to @"c:\rectest.mp3" doesn't help
When I look at the sample-program ASIOrecording I find an extra line of code when the lame is initialized. It is:
lame.Start(null,0);
Adding this line below lame.LAMEQuality=.. Didn't help.
I added all neccessary DLL's (and lame.exe) to both the system32 and the debug/bin directory.
Is there still something I need to add?
Am I doing something wrong??
Can anyone help me?
Kind regards,
Clemens Linders

Reply
Quote