Перейти к файлу
Atsushi Eno 2ae35b37f3 Merge pull request #1 from skolima/master
Decoding extracted to OggDecodeStream, another usage sample added.
2012-03-05 08:16:10 -08:00
OggDecoder Decoding moved to OggDecodeStream, another usage sample added. 2012-03-05 09:50:51 +01:00
csogg Solution updated to VS2010 format. 2012-03-04 21:58:49 +01:00
csvorbis Solution updated to VS2010 format. 2012-03-04 21:58:49 +01:00
.cvsignore Added some proper makefiles. Work under Linux/Unix. Haven't tested under 2002-05-17 21:51:20 +00:00
.gitignore Solution updated to VS2010 format. 2012-03-04 21:58:49 +01:00
COPYING Added license and a README. 2002-05-24 21:18:27 +00:00
ChangeLog 2009-03-23 Atsushi Enomoto <atsushi@ximian.com> 2009-03-23 00:57:54 +00:00
Makefile 2009-03-23 Atsushi Enomoto <atsushi@ximian.com> 2009-03-23 00:57:54 +00:00
README Added license and a README. 2002-05-24 21:18:27 +00:00
csvorbis.sln Solution updated to VS2010 format. 2012-03-04 21:58:49 +01:00
csvorbis.suo Decoding moved to OggDecodeStream, another usage sample added. 2012-03-05 09:50:51 +01:00

README

General Information
===================

This is Vorbis# version 0.1.

Vorbis# is a C# OggVorbis decoder written purely in C#.  It is based off of
the Java version (Jorbis v0.0.12).

The code can compile with Microsoft's .NET Framework or the Mono project's
C# compiler mcs.  The Makefiles can handle either ('make windows' for compiling
under Win32 and csc, and 'make unix' to compile under mcs).

There is also a project file for use with VS.NET.

The compile will produce three files:

csogg.dll
csvorbis.dll
OggDecoder.exe

OggDecoder takes two arguments, the first is a valid bitstream, the other
is a file where 16 bit PCM data is written to.

If you use ESD, a great example is:

mono OggDecoder.exe my.ogg /dev/stdout | esdcat /dev/stdin

This code has been tested extensively with the mono JIT.  The MS will work as
well, but you're on your own to use it to play sound in realtime (i.e., write 
your own audio backend).  Pnet is untested completely.  Don't even try this
with Rotor, unless you have a lot of time on your hands.

<crichton@gimp.org>