[vorbis-dev] Mac OS X / Darwin patch for vorbis-tools

Timothy J. Wood tjw at omnigroup.com
Mon Jan 29 22:51:24 PST 2001



  I disagree...  When I asked about this previously, the only real reason that came up that _required_ the dl stuff was that some Linux systems may have different sound libraries installed, so for a binary distribution you'd want loadable modules so the appropriate one for the current system could be used.  On Mac OS X, CoreAudio is always present.  Adding dl crud just complicates the issue needlessly.  We _can_ do without it on systems that have a single vendor supplied audio framework (i.e., Mac OS 9, Mac OS X, Windows, Solaris ... pretty much anything but Linux).

  Yes, I could write a dl compatibility library in terms of Mach-O dyld (and I have one that works reasonably well), but carrying around this code would just be useless baggage.  It seems far cleaner to use static linking when appropriate.

  And finally, I notice that the null and wav modules are statically linked, so it seems like there is room for statically linking things that are known to always work.

-tim

On Monday, January 29, 2001, at 07:36 PM, Michael Smith wrote:

> Monty wrote: 
> >  
> > >   This patch (along with all the previous patches) gets oggenc and ogg123 working.  This 
> does not get vorbiscomment working, although I assume that would be trivial -- just add the 
> getopt stuff to the project just like I did in ogg123. 
> >  
> > I'd prefer a tool maintainer applied this one if only because I'm not 
> > well qualified to tell what might break.  If Jack or Mike wants me to 
> > do it (or they time out), I'll apply it and do a cursory build check. 
>  
> This also looks fine apart from the dl stuff. I'm kinda busy here, and 
> don't have time to check everything, but it looks sane.  
>  
> (about vorbiscomment: yes, that probably needs the getopt stuff too - I 
> wouldn't bother, though. It's mostly useful as example code for how to 
> use the core vcedit.[ch] stuff, people won't really be using it much in 
> practice. vcedit.c doesn't need anything except libogg, libvorbis) 
>  
> The dl stuff is only useful if you apply the other patch (for libao), 
> which I don't think should be done (it's really messy. libao needs 
> dynamic loading - if osX does it differently, then we should have an 
> alternative implementation for it (and similarly for other platforms, if 
> neccesary), rather than pretending we can do without). 
>  
> Feel free to apply the rest (or the whole thing - it won't hurt), Monty. 
> If you don't I'll get to it later on. 
>  
> Michael 
>  
> --- >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. 
>  
>  

--- >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