LWJGL
May 21, 2012, 01:20:45
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
>
OpenAL or Soundcard problem
Pages: [
1
]
« previous
next »
Print
Author
Topic: OpenAL or Soundcard problem (Read 5088 times)
Zero5
Newbie
Posts: 1
OpenAL or Soundcard problem
«
on:
September 06, 2007, 03:20:21 »
Hello, I have a problem with OpenAL ore probably with my Soundcard drivers... If I run my program, I'm can only load 16 Sounds, if I want to load more than 16, I have to use the default Java Sound API. Does anyone know, what to do? My Soundcard is very old(5 years), is this the reason for my problem? I use a Demo code to play my Sounds...
Mfg zero5
Logged
Matzon
Administrator
Demigod
Posts: 2177
Re: OpenAL or Soundcard problem
«
Reply #1 on:
September 06, 2007, 06:01:33 »
you are limited by the number of channels your sound card has.
newer cards usually have 32 or 64 channels
Logged
http://certusgames.com
(Free Online Multiplayer Java Games)
http://lwjgl.org
(OpenGL/OpenAL for Java)
elias4444
Nerdus Imperius
Posts: 636
Re: OpenAL or Soundcard problem
«
Reply #2 on:
September 07, 2007, 09:08:23 »
The idea isn't to keep the same sounds in each channel. You'll want to write a manager to control which sounds are playing in which channel as you need them. You typically store the sounds in buffers.
Logged
=-=-=-=-=-======-=-=-=-=-=-
http://www.tommytwisters.com
broumbroum
Prolific Timewaster
Posts: 285
Re: OpenAL or Soundcard problem
«
Reply #3 on:
October 17, 2008, 04:38:42 »
I've found out by testing various size of buffers and sources with openAL for LWJGL and it "sounds" out that the buffer limit is about 200 buffers and sources. (i.e. AL10.alGenBuffers(IntBuffer.allocate(200)))
Logged
Sf3JSwing project (Apache License) -
http://sf.net/projects/sf3jswing
Sf3jswing Project Forum -
http://apps.sourceforge.net/phpbb/sf3jswing/
(recent updates)
Mercurial Repository -
http://sf3jswing.hg.sourceforge.net/hgweb/sf3jswing/sf3jswing/summary
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...