[vorbis-dev] Mac Vorbis Player

David Riley oscar at the-rileys.net
Tue Oct 10 15:55:39 PDT 2000



Monty wrote:
> 
> > I've got a working (standalone) Mac Vorbis player.  It doesn't handle
> > clipping nicely (it makes narsty noises that XMMS doesn't), the code's
> > not commented yet, there's no other way to quit while the sound plays
> > besides force quitting, and there's no real error checking, but it works
> > and I got around the problem with os_types.h by putting a mac-specific
> > version in the <vorbisroot>/mac/compat folder and it works just fine.
> 
> If you mean the problem that 'there isn't one', this is fixed on the
> branch_postbeta2 CVS branch.  I don't know if your fix will conflict.

OK then... I'll post it with my directory structure and you can merge as
necessary.  Whatever works works, the typedefs probably won't conflict
if you use different ones.

BTW, I think it may actually be the Vorbis library that's clipping
internally because it makes the clipping/scratching noise (and slows the
sound, oddly enough) even when I have the amplification from double down
from 32767 to about 16383 and lower.  I'll see if there's anything I can
do to fix that, but I'm afraid I'll get lost in the code.  :-)

> > In any case:  Should I post this to the list, or should I put the
> > approriate files up on my website for some maintainer to patch into the
> > codebase?  I'm inept at CVS (the most I can do is checkout and update)
> > and I don't have developer access anyway.
> 
> If it's more than 10k or so, the list is likely not appropriate.  Posting it
> for Web access and a link to the mailing list is the right thing to do.

Right.  Here's a link: <http://oscar.the-rileys.net/programming/vorbis.tar.gz>

The project file has the compiler merge the library into the output
program.  I did this because it allows the program to be completely
standalone, but it may be undesirable in terms of upgradeability.  I'm
not worried, especcially since this is preliminary.

The directory structure is the same as is in the source package, but
with tthe relative files only.  I have /vorbis/mac with the project file
and C files/headers, amd /vorbis/mac/compat with os_types.h (which, as
mentioned, may be unnecessary).  No changing of any existing files
should be necessary.

Thanks!
        David

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis-dev mailing list