LWJGL
May 25, 2013, 15:36:59 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: LWJGL 2.9.0 released!
 
   Home   Help Search Login Register  



Pages: [1] 2 3
  Print  
Author Topic: [FIXED]Minecraft 1.25 vs. LWJGL 2.8.4(OpenAL32.dll)  (Read 6093 times)
o0Julia0o
Newbie
*
Posts: 9



« on: June 14, 2012, 10:14:18 »

hi Smiley

the OpenAL32.dll makes the sound be overdriven ;-(

in further versions i hadnīt this problem. If i use a old version from the OpenAL32.dll it sounds normal.

OS: Windows XP SP3 32bit
Soundblaster: Creative Soundblaster X-Fi Driver-Version: 6.0.1.1348 from 07.07.2010

Julia Smiley

Logged
CodeBunny
Nerdus Imperius
*****
Posts: 561



WWW
« Reply #1 on: June 14, 2012, 10:27:19 »

This isn't Minecraft tech support, you know. If there's a problem with the Minecraft utilization of LWJGL, it's on their end, so bring it up with Jeb et al.
Logged
Elviz
Newbie
*
Posts: 23


« Reply #2 on: June 15, 2012, 02:00:33 »

I see (hear) this in my LWJGL-based application, too. No fancy code involved, I'm also able to reproduce it with org.lwjgl.test.openal.PlayTest. Wave output sounds loud and distorted when AL_GAIN is non-zero.

This is on a 32-bit Windows XP system with LWJGL 2.8.4. The problem wasn't present in (the OpenAL libraries packaged with) 2.8.3 and earlier.

A different Windows machine I tested my game on didn't exhibit the sound distortion, so I thought some aspect of my age-old sound card (SoundBlaster Live Value) or its drivers might be to blame here. Then again, I never really had any trouble with it before.
Logged
princec
Nerdus Imperius
*****
Posts: 1870



WWW
« Reply #3 on: June 15, 2012, 05:52:03 »

What happens if you delete the OpenAL32.dll that comes with LWJGL and try again?

Cas Smiley
Logged

Elviz
Newbie
*
Posts: 23


« Reply #4 on: June 15, 2012, 07:05:31 »

What happens if you delete the OpenAL32.dll that comes with LWJGL and try again?

Then I'll get an LWJGLException ("Could not locate OpenAL library") and the resulting UnsatisfiedLinkErrors.

But here's what may be a clue. This is the output produced by the constructor of org.lwjgl.test.openal.BasicTest when PlayTest is run using the OK-sounding 2.8.3:
Code:
Default device: DirectSound Default
Available devices:
0: DirectSound Default

...whereas 2.8.4 prints this:
Code:
Default device: OpenAL Soft
Available devices:
0: OpenAL Soft

Edit: Or perhaps that's just a naming issue, and the real problem is elsewhere. The OpenAL Soft commit log for 1.14 contains a number of commits related to device names.
Logged
kappa
Administrator
Nerdus Imperius
*****
Posts: 1113



« Reply #5 on: June 15, 2012, 07:42:59 »

what if you use an OpenAL32.dll from a previous version of LWJGL? does the sound still get 'overdriven'?
Logged
o0Julia0o
Newbie
*
Posts: 9



« Reply #6 on: June 15, 2012, 08:35:44 »

If i use an OpenAL32.dll from previous versions(i only can test 32bit) the sound sounds well.

so I thought some aspect of my age-old sound card (SoundBlaster Live Value) or its drivers might be to blame here. Then again, I never really had any trouble with it before.
I am using a Creative Soundblaster X-Fi Driver-Version: 6.0.1.1348 from 07.07.2010
Logged
kappa
Administrator
Nerdus Imperius
*****
Posts: 1113



« Reply #7 on: June 15, 2012, 10:10:30 »

If using an older version of OpenAL32.dll with the new version of LWJGL fixes the issue then the problem is likely with the OpenAL-Soft library and should be reported to them. LWJGL is using a pretty new version of OpenAL-Soft (1.14) so likely if they fix the issue we'll pick it up in the next release. For now you can just use an older version of OpenAL-Soft (OpenAL32.dll) if it fixes the issue for you.

EDIT: G to A Smiley
Logged
Matzon
Administrator
Demigod
*****
Posts: 2239



« Reply #8 on: June 15, 2012, 12:22:07 »

Surely you mean OpenAL32.dll - and not OpenGL Wink
Logged

kappa
Administrator
Nerdus Imperius
*****
Posts: 1113



« Reply #9 on: June 15, 2012, 12:31:31 »

Surely you mean OpenAL32.dll - and not OpenGL Wink
Doh Smiley
Logged
o0Julia0o
Newbie
*
Posts: 9



« Reply #10 on: June 15, 2012, 14:15:58 »

If using an older version of OpenAL32.dll with the new version of LWJGL fixes the issue then the problem is likely with the OpenAL-Soft library and should be reported to them.
thx, so to them. Who is them?

Julia Smiley
Logged
kappa
Administrator
Nerdus Imperius
*****
Posts: 1113



« Reply #11 on: June 15, 2012, 14:19:15 »

If using an older version of OpenAL32.dll with the new version of LWJGL fixes the issue then the problem is likely with the OpenAL-Soft library and should be reported to them.
thx, so to them. Who is them?

Julia Smiley
OpenAL-Soft
Logged
o0Julia0o
Newbie
*
Posts: 9



« Reply #12 on: June 15, 2012, 14:23:53 »

thx, no contact-email. Only a irc-channel. But nobody answeres.
Logged
Mickelukas
Talks Too Much
***
Posts: 167


WWW
« Reply #13 on: June 16, 2012, 09:07:05 »

thx, no contact-email. Only a irc-channel. But nobody answeres.

There is a contact email on that website...
http://opensource.creative.com/mailman/listinfo/openal
Logged

o0Julia0o
Newbie
*
Posts: 9



« Reply #14 on: June 16, 2012, 09:27:43 »

oh, i only saw the mailinglist before - thx Mickelukas Smiley
Logged
Pages: [1] 2 3
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
SMFAds for Free Forums
Valid XHTML 1.0! Valid CSS!