我想编码音频流到IMA ADPCM,这是我的代码。 public Byte[] EncodeDVI(Byte[] source)
{
var resampleStream = new AcmStream(new WaveFormat(11025, 16, 1), new ImaAdpcmWaveFormat(11025, 16, 1));
Buffer.Bl
我想使用以下代码将wav文件转换为mp3。 using (var wavRdr = new WaveFileReader(item))
using (var mp3Writer = new LameMP3FileWriter(outputPath.Replace(".wav", ".mp3"), wavRdr.WaveFormat, _bitRate, tag))
我的c#代码如下,它没有提供任何错误,但没有声音输出。我使用来自COM14端口的putty和受监控的数据流很好。这是我第一次在NAudio中,所以不知道那我做错了什么。 WaveInEvent waveSource;
WaveOut waveOut = new WaveOut();
WaveFormat format = new WaveFormat(8000, 16, 1);