naudio / Vorbis

Vorbis decoder for NAudio

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Vorbis decoder for NAudio

License:MIT License


Languages

Language:C# 100.0%