Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 825 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 825 Bytes

NAudio.Vorbis Gitter

NAudio.Vorbis is a convenience wrapper to enable easy integration of NVorbis into NAudio projects.

To use:

// add a reference to NVorbis.dll
// add a reference to NAudio.Vorbis.dll

using (var vorbisStream = new NAudio.Vorbis.VorbisWaveReader("path/to/file.ogg"))
using (var waveOut = new NAudio.Wave.WaveOutEvent())
{
    waveOut.Init(vorbisStream);
    waveOut.Play();
   
    // wait here until playback stops or should stop
}

If you have any questions or comments, feel free to join us on Gitter. If you have any issues or feature requests, please submit them in the issue tracker.