我試圖用NVorbis和n音訊播放OGG文件流,如機制的文檔我試圖訪問VorbisWaveReader類描述,都沒有成功,這是我的代碼: using System;
using System.Collections.Generic;
using System.Text;
using NVorbis;
using NAudio;
namespace Paradise
{
cl
我正在使用Ogg Vorbis SPI作爲解碼.ogg文件的方法。 的代碼片段我用裝載.ogg文件,並轉換成PCM是不建議的一個文檔中也不同: // The streams are valid at this point.
try (InputStream bin = new BufferedInputStream(file.getInputStream(entry));
AudioI
我用Vorbis的SPI發揮的Ogg文件,但我得到這個例外 javax.sound.sampled.UnsupportedAudioFileException: could not get audio input stream from input file
at javax.sound.sampled.AudioSystem.getAudioInputStream(AudioSyste