[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnubg] libcanberra instead of QuickTime

From: Louis Zulli
Subject: [Bug-gnubg] libcanberra instead of QuickTime
Date: Fri, 15 Jan 2010 05:50:53 -0500

I'd like to build a 64-bit gnubg on OS X 10.6.2 Snow Leopard. So I can't use the QuickTime framework, which isn't 64-bit. I've built all the gnubg dependencies as 64-bit, including libcanberra (used MacPorts).

What modifications to the gnubg source are needed to use libcanberra instead of QuickTime? I modified sound.c in what seemed the obvious ways, but I get no sound at all. Probably missing something easy.



By the way, this came up before, but I don't know what became of it. From Mike Petch, I think:

Okay, I have had caffeine and here is the answer to our question (it was in a 
macports thread): 

"Quicktime/mov file support is removed due to Carbon QuickTime framework 
being 32 bit only. As far as I can gather the only way to fix this without 
forcing a 32 bit compile of the library (which would be useless for linking 
other 64 bit ports against) would be to re-write the Mac OS specific parts 
of the library to use the Cocoa x64 framework equivalents (if possible)." 

It makes me wonder if we could build libcanberra with OS/X macports and use 
that to play sounds, allowing us to remove all the Apple OS/X specific sound 
code. The other option is the check for 64 Bit OS/X and put ifdefs in for 
the Cocoa x64 format. Maybe for the time being just turn sound off? 

Clearly this is Snow Leopard and x64 related. 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]