string lameEXE = @"C:\path_of_lame\lame.exe";
string lameArgs = "-b 128";string wavFile = @"C:\my_wavs\input.wav";
string mp3File = @"C:\my_mp3s\output.mp3";Process process = new Process();
process.StartInfo = new ProcessStartInfo();
process.StartInfo.FileName = lameEXE;
process.StartInfo.Arguments = string.Format(
"{0} {1} {2}",
lameArgs,
wavFile,
mp3File);process.Start();
process.WaitForExit();int exitCode = process.ExitCode;
*****************************************************************************
签名档: http://feiyun0112.cnblogs.com/
string lameArgs = "-b 128";string wavFile = @"C:\my_wavs\input.wav";
string mp3File = @"C:\my_mp3s\output.mp3";Process process = new Process();
process.StartInfo = new ProcessStartInfo();
process.StartInfo.FileName = lameEXE;
process.StartInfo.Arguments = string.Format(
"{0} {1} {2}",
lameArgs,
wavFile,
mp3File);process.Start();
process.WaitForExit();int exitCode = process.ExitCode;
*****************************************************************************
签名档: http://feiyun0112.cnblogs.com/
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货