[sdlsound] OSX Woes (Intro)

E. Wing ewmailing at gmail.com
Sun Jul 3 05:04:58 EDT 2005

Hi Chris,
We've talked before a couple of years back. I'm still involved in that
project we discussed before...it's just taking awhile. Anyway,
SDL_sound does work under OS X. We use it extensively. But it is a
pain to build because of all the dependencies. Basically, the trick is
building all the dependencies first, then build SDL_sound.

I had submitted a Project Builder project which is old, but contains
the basis for building SDL sound. They obviously need to be updated
badly, which I plan on getting to in the near future. I think it's
somewhere on the website or in the repository. These projects use the
framework approach to dynamic libraries so it's a little different,
but distribution is a bit easier in my opinion.

My group released a small series of patches to give SDL_sound the
ability to know the total play time of a file. We're currently using a
slightly forked version of SDL_sound because of that. I've asked Ryan
at WWDC to make a 1.1 point release containing these changes before
the push for 2.0 really ramps up, which I'm still waiting for. Once
this happens, I intend to resync and update everything.

In the meantime, if you don't mind the slight fork, I could just send
you a copy of my binaries. There are frameworks for ogg, vorbis,
mikmod, smpeg. At the very least, you could take these frameworks and
leverage them to rebuild SDL_sound to your liking.

If Ryan would like to host any of my binaries on the site, I'm open to
that. (I have a PhysFS one too.)

Anyway, let me know privately if you want me to send you the frameworks.


On 7/3/05, Chris Nelson <chris at toysforbob.com> wrote:
>  Hi.
>  The next 3 emails you're about the read detail my endeavors to get
> SDL_sound working on OSX Panther. The cliff's notes version is that I tried
> a million things, but I couldn't get it to work. It is my hope that
> detailing precisely what I did will lead to a solution.
>  ---
>  The official SDL page indicates the SDL_sound works very well under OSX:
> http://www.libsdl.org/libraries.php?start=90&order=name&category=any&completed=0&os=any&match_name=&perpage=1
>  The official SDL_Sound page,
> http://www.icculus.org/SDL_sound, doesn't supply any OSX
> packages.
>  Fink, the apt-get interface for OSX, doesn't have SDL_sound binaries in its
> repositories according to their page:
> http://fink.sourceforge.net/pdb/package.php/sdl-sound-shlibs
>  A google search for SDL_sound OSX packages or fink binaries doesn't give
> any useful results.
>  I'm running OSX Panther, and I'm trying to compile SDL_sound 1.01 (both the
> stable and svn branch). Basically, it's a mess, and I feel like I can get
> really close to a successful compile, but tiny things are in my way.
>  I've already installed SDL 1.2.8, libogg, libvorbis, and smpeg from the
> following locations:
> libsdl: http://www.libsdl.org/release/SDL-1.2.8.tar.gz
> libogg:
> http://downloads.xiph.org/releases/ogg/libogg-1.1.2.tar.gz
> libvorbis:
> http://downloads.xiph.org/releases/vorbis/libvorbis-1.1.0.tar.gz
> smpeg: cvs -z3
> -d:pserver:anonymous at cvs.icculus.org:/cvs/cvsroot co smpeg
>  I'll send separate emails with my experiences of the svn trunk, and v1.01,
> so read on...

More information about the sdlsound mailing list