I finally got around to committing Chris Hanson's MacOS9 patches. Just though you should know. Monty --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/
At 3:35 PM -0700 8/14/00, Monty wrote:>I finally got around to committing Chris Hanson's MacOS9 patches. Just though >you should know.Excellent! Thanks, Monty. For those who want to get started hacking on the Mac stuff, the project files are from CodeWarrior Pro 5.3. I think everything else is self-explanatory; there's a project that you can use to build either a debug or an optimized shared library, and projects for encode_example and decode_example which you can use to verify that everything works correctly. Happy hacking! -- Chris -- Christopher M. Hanson President bDistributed.com, Inc. cmh@bDistributed.com --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/
Doh! I just built the version that's in CVS, and either I or Monty
(I'll assume it's my fault :) let a minor bug in
examples/decoder_example slip through.
Diff below; basically, just remove the redeclarations of argc and
argv in the Mac-specific code.
-- Chris
Index: vorbis/examples/decoder_example.c
==================================================================RCS file:
/usr/local/cvsroot/vorbis/examples/decoder_example.c,v
retrieving revision 1.10
diff -c -2 -r1.10 decoder_example.c
*** vorbis/examples/decoder_example.c 2000/08/14 22:33:50 1.10
--- vorbis/examples/decoder_example.c 2000/08/15 00:01:26
***************
*** 64,70 ****
#if defined(macintosh) && defined(__MWERKS__)
- int argc = 0;
- char **argv = NULL;
-
argc = ccommand(&argv); /* get a "command line" from the Mac
user */
/* this also lets the user set stdin and stdout */
--- 64,67 ----
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/