[Flac-dev] C#/.NET P/Invoke wrapper or native port of libFLAC

Tor-Einar Jarnbjo Tor-Einar at Jarnbjo.de
Wed Dec 21 10:59:32 PST 2005

Hi David,

I have implemented a Java decoder for FLAC. Currently it only works with 
Ogg-wrapped FLAC files, but it should not be too difficult to extend it 
with support for "raw" FLAC files. It only took me 8-10 hours to write a 
C# port of the Ogg parser and Vorbis decoder from the same library and 
porting the FLAC decoder to C# should not be particulary difficult 
either. Perhaps it's even possible to compile most of the Java code 
using the J# compiler.

Source code and some example code (player, ogg2wav converter) can be 
found here:



David-Michael Lincke schrieb:

> Before I start reinventing the wheel, has anything been done or is 
> there any work ongoing to provide a P/Invoke based interface to parts 
> or all of libFLAC or even a native port of libFLAC to C#/.NET?
> Regards,
> Dave
>Flac-dev mailing list
>Flac-dev at xiph.org

More information about the Flac-dev mailing list