我想遍历一个wave文件,并在每次迭代时发送20ms。 假设我使用8kHz的,1个信道,16位音频文件,我使用n音讯下面的代码: WaveFileReader wHeader = new WaveFileReader(fullFileName);
byte[] data = new byte[wHeader.Length];
int read = wHeader.Read(data, 0,
我无法使用Windows Universal的Naudio播放解码opus数据包。声音播放一秒钟,然后停止,例外。我收到的例外是InvalidOperation - Timed out waiting for event。 这里是我的代码: public void ForStackOverFlow()
{
var waveOut = new WasapiOutRT(AudioClien
我试图执行下面的代码,我发现here using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Media;
using NAudio.Wave;
namespace AAC2WAV
{
class Program
{