Nov 19, 2010 at 12:48 AM
Edited Nov 19, 2010 at 12:53 AM
I think NAudio is really cool, but it would be even cooler with Ogg Vorbis playback support.
So I looked around for a managed library (C#) and found with csvorbis (Vorbis#), it is LGPL so it seems like a good candidate.
The link contains a very raw/drafty version of an NAudio Ogg Vorbis wrapper that uses csvorbis.
(The zip contains a free Ogg Vorbis Audio that I download from vorbis.com)
The code is not ready for "production" but it does play the file very nicely, including a random seek a file position based on Time (using CurrentTime).
Also the original Vorbis# code is full of warnings which need to be cleaned up..but it seems to be working just fine.
What do you think?