Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

wrldwzrd89

macrumors G5
Original poster
Jun 6, 2003
12,110
77
Solon, OH
I've got what should hopefully be a simple programming question: Is it possible to use the SDL (Simple DirectMedia Layer) library together with QTKit, to play back audio only? Obviously, video playback with QTKit and SDL isn't going to work - which is fortunate as that's not why I'd be using QTKit.

If that option isn't possible, then is there a C or C++ or Objective-C library I can use to play compressed audio in the HE-AAC format, that will compile on the Mac? I don't mind having to compile things from source code, but I'd rather not make end users of my software have to do the same just to use it.
 
I don't see why not. SDL runs as a normal Cocoa app, so you have access to everything. Just make sure you access QTKit from .m files since it's Obj-C only. There is also NSSound which is a bit simpler API.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.