SDL_Sound Universal Binary

Just wondering if anybody out there built an SDL_Sound (or SMPEG) unibin
framework…it would save me the trouble of trying to update the project
files to build it myself.

Gregory

Gregory Smith wrote:

Just wondering if anybody out there built an SDL_Sound (or SMPEG) unibin
framework…it would save me the trouble of trying to update the project
files to build it myself.

I’ve shipped games where I built SDL_sound with gcc3.3 on PPC and gcc4.0
on Intel, glued the two together with lipo, and was done with it.

It’s not elegant, but it was the easiest solution.

Sam updated SMPEG to be Universal with the fatbuild script. We should
probably do something similar for SDL_sound.

–ryan.

Would you (or Sam) recommend moving away from Frameworks for OS X for
projects that use SDL? I’m getting the feeling the preferred way is to use
libs and the command line.

GregoryOn Wed, 7 Jun 2006, Ryan C. Gordon wrote:

I’ve shipped games where I built SDL_sound with gcc3.3 on PPC and gcc4.0
on Intel, glued the two together with lipo, and was done with it.

It’s not elegant, but it was the easiest solution.

Sam updated SMPEG to be Universal with the fatbuild script. We should
probably do something similar for SDL_sound.

–ryan.

Would you (or Sam) recommend moving away from Frameworks for OS X for
projects that use SDL? I’m getting the feeling the preferred way is to use
libs and the command line.

No, just use whatever you’re most comfortable with.

See ya,
-Sam Lantinga, Senior Software Engineer, Blizzard Entertainment

No, just use whatever you’re most comfortable with.

OK, I’m most comfortable with SDL_Sound and SMPEG universal binary
frameworks :slight_smile:

I’ll see if I can build some, and make them available if I can.

GregoryOn Wed, 7 Jun 2006, Sam Lantinga wrote:

Yes, I have built both SDL_Sound and SMPEG as Universal Binary
frameworks. I have actually passed back an SMPEG Xcode project to Sam
and Ryan, but to my knowledge, they haven’t put it in any public place
at the moment. But there is an Universal static library of smpeg
(created by this project) inside the SDL_mixer Xcode project so we can
build SDL_mixer with smpeg support.

I also have an Xcode project for SDL_sound. Building SDL_sound is a
little painful because of all the dependencies. I currently
dynamically link against Ogg/Vorbis, SMPEG, and Mikmod (which also
have to be built as Universal). I haven’t yet gone into the other
dependencies like FLAC, Speex, etc.

I don’t have any public space available to me, so if you want to help
make these publicly available, I can send you my stuff.

-Eric

Would you (or Sam) recommend moving away from Frameworks for OS X for
projects that use SDL? I’m getting the feeling the preferred way is to use
libs and the command line.

Coming from a Unix background, I think Frameworks are by and large a big
hassle. Others will surely disagree with me.

–ryan.