LWJGL
May 17, 2012, 02:51:01
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
LWJGL 2.8.3 released!
Home
Help
Search
Login
Register
LWJGL
>
Programming
>
OpenAL
>
No 3D sound while using 3D sound
Pages: [
1
]
« previous
next »
Print
Author
Topic: No 3D sound while using 3D sound (Read 3253 times)
Fool Running
Nerdus Imperius
Posts: 647
No 3D sound while using 3D sound
«
on:
October 16, 2005, 10:29:01 »
I was able to get 3D sound working using OpenAL, but if I want to play a sound that isn't 3D (like a click for a menu item) it wants to put that sound in relative 3D space to my listener. Is there a way to tell OpenAL not to calculate a particular source for 3D?
The only way I can see to do it so far is to set my listener location, listener orentation, and sound pos to (0, 0, 0) for the non-3D sounds and the correct values for the 3D sounds. That seems like alot of extra OpenAL calls (although I could re-write my sound engine to sort the 3D/non-3D sounds). Any help would be great. :wink:
Logged
Programmers will, one day, rule the world... and the world won't notice until its too late.
Just testing the marquee option
princec
Nerdus Imperius
Posts: 1781
No 3D sound while using 3D sound
«
Reply #1 on:
October 16, 2005, 12:51:49 »
Actually that's exactly how you do it.
Or use stereo sound.
Cas
Logged
Puppygames - Play Revenge of the Titans here!
Fool Running
Nerdus Imperius
Posts: 647
hmmmm...
«
Reply #2 on:
October 17, 2005, 10:00:06 »
Ok, thanks Cas
Logged
Programmers will, one day, rule the world... and the world won't notice until its too late.
Just testing the marquee option
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Programming
-----------------------------
=> Lightweight Java Library Game Development
=> LWJGL Documentation
=> Bug Reports / RFE
=> OpenGL
=> OpenAL
=> General Java Game Development
-----------------------------
Archive
-----------------------------
=> Resolved Bugs/RFE
=> DirectX
=> DevIL
=> FMOD
Loading...