Bug 3830 - Ubuntu Intrepid's OpenAL headers break sound sync
Status: RESOLVED INVALID
Alias: None
Product: ioquake3
Classification: Unclassified
Component: Sound
Version: unspecified
Hardware: PC Linux
: P3 normal
Assignee: Zachary J. Slater
QA Contact: ioquake3 bugzilla mailing list
URL:
Depends on:
Blocks:
 
Reported: 2008-10-28 21:38 EDT by Evan Goers
Modified: 2008-11-02 10:47:34 EST
0 users

See Also:



Description Evan Goers 2008-10-28 21:38:51 EDT
After compiling r1474 on Ubuntu Intrepid Ibex(8.10), my sound has become out of sync. Using my old build of 1444, sound is in sync on Intrepid. I have s_useOpenAL set to 1. Sound seems to be in sync using SDL sound, though.

I have also noticed this when I exit ioquake3(r1474):
"AL lib: alBuffer.c:1097: exit() 12 Buffer(s) NOT deleted"

I'm assuming something has changed in the OpenAL library since Ubuntu Hardy Heron(8.04) which would cause these issues.
Comment 1 Evan Goers 2008-10-31 04:48:16 EDT
I have figured out the issue. Ubuntu 8.10's upgrade transitions from the old libopenal0 packages to the new libopenal1(openal-soft). From what it seems like, only a select number of people will get sound sync/glitch issues and need to create a file called ".alsoftrc" in their home directory. This file should contain "refresh = 2048"(no quotes). You can choose your own refresh value but 2048 resolves the problem for me.
Comment 2 Ludwig Nussel 2008-11-02 10:47:34 EST
so no problem of ioq3