Jump to content

As for Ticket #685


Recommended Posts

Hello and thank you for 0 A.D. I built Alpha 3 on my Intel Mac (OS X 10.6.6) and found a issue related to ticket #685 (OSX Crashes with Audio).

I tried to change the loop flag to false just before alSource functions. The music had been played without crash in main menu screen.

I don't have used OpenAL but I think this suggests the loop value should be 0 in the case of main menu. Loop = true means the buffer will be used repeatedly. So alSourceUnqueueBuffers() returned the error. Perhaps OpenAL on another platforms ignore the loop flag (bug?). Is this right?

Link to comment
Share on other sites

The Creative implementation and OpenALsoft don't ignore the loop flag. It's interesting to hear that disabling looping (which is kind-of nice for the main menu but certainly not critical) avoids that bug in their OpenAL. After you've disabled it, are there any other problems? It might be worthwhile to just turn that off on OS X instead of killing all sound, but given the amount of problems we've seen, some other issues are likely to arise.

Link to comment
Share on other sites

I thought this needed to change the logic of looping sound for 2 cases. One is that sound can be in one buffer. Another is that sound is divided into multiple buffers. The current pyrogenesis seems to ignore the latter case.

Anyway, I know this matter is low priority. You've got a lot of works to do. Please do that.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...