bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] Disadvantage of using CoreAudio for sound?


From: Michael Petch
Subject: Re: [Bug-gnubg] Disadvantage of using CoreAudio for sound?
Date: Tue, 16 Aug 2011 16:12:45 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11

On 16/08/2011 12:17 PM, Louis Zulli wrote:
> The advantage of using CoreAudio is the ability to build a 64-bit binary. The 
> disadvantage is that sounds are not produced simultaneously with graphics? 
> For example, the sound of the dice precedes the animation of the the dice 
> being rolled in 3D.
>
I hacked the code together quickly quite some time ago, and really never
paid close enough attention to it. A thread would be needed to put it in
the background. I can code it but it will have to wait a bit.

> By the way, in this snippet from configure.in, isn't there an inconsistency? 
> Doesn't "10.0" correspond to OS X 10.6 (Snow Leopard)? Do you want 9.0?
>
>> dnl If OSX version < 10.5 then try to build with Quicktime
>> dnl otherwise use CoreAudio if it is available
>> if test "x$darwin" = "xyes"; then
>>         needquicktime=no
>>         AS_VERSION_COMPARE("$(uname -r)", "10.0", needquicktime=yes, [], [])
>>

The code is correct the comment (dnl) is wrong. The comment should be
OSX Version <= 10.5. Only Snow Leopard and onward have correct support
for CoreAudio.

-- 
Michael Petch 
CApp::Sysware Consulting Ltd. 
OpenPGP FingerPrint=D81C 6A0D 987E 7DA5 3219 6715 466A 2ACE 5CAE 3304 




reply via email to

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