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

LPZ

macrumors 65816
Original poster
Jul 11, 2006
1,221
2
The backgammon program gnubg currently uses the QuickTime framework to play .wav files. Since this framework is 32-bit only, I can't compile a 64-bit binary (and still have sounds). I'd like to revise the code in sound.c to use a 64-bit framework that would provide a similar functionality.

Any suggestions/guidance would be much appreciated. I've searched for sample code to follow, but haven't found any. Thanks.
 
What have you tried? Be specific.

I googled qtkit play sound and found this article:
http://www.meandmark.com/qtkitaudiopart1.html


Why does backgammon need 64 bits?

I haven't tried anything yet. I'm seeking general suggestions from Mac programmers about what might be a proper approach to investigate. The program is written in C, so I need something with a C API.

I can build gnubg fine as a 32 bit application, but that means I need to build 32-bit (or universal) versions of all the libraries it uses (quite a few). Not really a problem, but it seems like the right long-term solution is to figure out how to transition gnubg away from the now old QuickTime framework.

Thanks for the link, by the way.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.