Java-Gaming.org    
Featured games (91)
games approved by the League of Dukes
Games in Showcase (576)
games submitted by our members
Games in WIP (498)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Discussions / General Discussions / Re: What should Sun/GTG concentrate on now? on: 2004-02-24 19:04:29
I agree with Syrusm. The first priority should be to convince people that they can benefit from using Java. Right now, alot of baseline technology has already been implemented on top of the free stuff that is out there.

We need to attract the attention and financial support of the outside industries. When they see what is possible, the fixes that we want will follow in step.

Dustin
2  Java Game APIs & Engines / Java Sound & OpenAL / Re: EAX support? on: 2004-02-02 01:39:00
Bumpzor!
3  Java Game APIs & Engines / Java Sound & OpenAL / Re: EAX support? on: 2004-01-22 04:14:22
Checking back on the EAX support. I would really love to start tinkering with this stuff. Smiley

My first post lists the source I was using to try to implement EAX control. Can anyone see a mistake there?

Dustin
4  Java Game APIs & Engines / Java Sound & OpenAL / New Beta build on: 2004-01-18 20:12:30
It looks like a new beta build just went up. Has anyone given it a try yet?

Dustin
5  Java Game APIs & Engines / Java Sound & OpenAL / Re: A demo ? on: 2004-01-09 16:33:46
Hmmm,

I think I am going to give a try to port this to the games-core OpenAL. Doesn't seem like it would be much work.

Dustin
6  Java Game APIs & Engines / Java Sound & OpenAL / Re: ALC Concerns on: 2004-01-06 18:29:42
The Card is a SoundMax Integrated Digital Audio card.

the init code for creating a context is setup like this:

[Code]
    ALFactory.initialize();
    al  = ALFactory.getAL();
    alc = ALFactory.getALC();
   
    String deviceName = "DirectSound3D";
    device = alc.alcOpenDevice(deviceName);
    context = alc.alcCreateContext(device, null);
    alc.alcMakeContextCurrent(context);

[/Code]

I am pretty sure that's the way the code is setup in the tutorial. I am not having any problems with the Alut class.

Thanks,

Dustin
7  Java Game APIs & Engines / Java Sound & OpenAL / ALC Concerns on: 2004-01-05 02:32:18
Hi everyone!

I am getting another crash when I am trying to open a device with contexts. I have tried to pass null as well as "DirectSound3D" so far, with no results. When making a call to alcGetString, I get a Null Pointer on the return of the call.

I have had no problems working with the ALut at all.

Is there any other valid parameter to pass?

Thanks,

Dustin
8  Java Game APIs & Engines / Java Sound & OpenAL / Re: EAX support? on: 2004-01-01 22:45:24
< bump>

Sorry, I just need an answer and I didn't want to get lost in the fray.

Thanks,

Dustin
9  Java Game APIs & Engines / Java Sound & OpenAL / Sound3D Toolkit on: 2003-12-30 23:49:12
Has anyone played with the Sound 3D Toolkit? It looks pretty sharp as a nice wrapper on top of the AL stuff. Anyone done anything with it so far?

Dustin

10  Java Game APIs & Engines / Java Sound & OpenAL / EAX support? on: 2003-12-30 18:25:00
Just a quick question about the EAX support for JOAL.

Currently I am checking to see if the extension is present using the string "EAX". I am getting a positive result from the query.

Here is a chunk of code I was using to get it setup:
[CODE]
EAXFactory factory = new EAXFactory();
EAX ex = factory.getEAX();
   
ByteBuffer effect = ByteBuffer.allocateDirect(8);
   
effect.putLong(100000);
ex.EAXSet(ex.LISTENER,EAX.EAX_ENVIRONMENT_UNDERWATER,player.source[0],effect,8);
   ex.setSourceProperty(player.source[0],EAX.DSPROPERTY_EAXBUFFER_IMMEDIATE,effect);
[/CODE]
The documentation isn't clear as to which set function should be used, the sequence to use them, etc.. The early EAX spec from the Creative doc says to use the propSet method (only one of them) to set an effect to a source..

After the setup, I just play the sound normally.

Is then an obvious mistake that I am making?

Thanks,

Dustin
11  Java Game APIs & Engines / Java Sound & OpenAL / Working with Context Attributes on: 2003-12-30 17:06:50
When creating contexts, it's listed that I can  specify an int[] of attributes to be applied to a specific context like this

ALC.Context context = alc.alcCreateContext(device,attribs );

attribs is an int[] that I set up as follows:

int[] attribs = {ALC.ALC_SYNC,AL.AL_TRUE, ALC.ALC_FREQUENCY,9600};

Am I setting up the attribs array incorrectly? Is it possible that these attributes are not implemented for JOAL yet?

Thanks,

Dustin
12  Java Game APIs & Engines / Java Sound & OpenAL / Alut Crash in Dec20 beta on: 2003-12-28 17:19:41
I recently updated to the December 20th build. After setting the try/catch blocks for the new OpenALException around ALut..alutInit() I got a hard crash.

Here was part of the dump:

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x77F69ECD
Function=RtlpWaitForCriticalSection+0x8A
Library=C:\Windows\System32\ntdll.dll

Before it blew up I got the "GO Team message" then it said it was entering alutInit with a device string set as null, then it blew up before my exception caught any problems.

After double checking my code, I rolled back to earlier versions of the libs and this problem went away with all apps functioning as they had previously.

Anyone else seen this one?

Dustin
Pages: [1]
 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

xsi3rr4x (16 views)
2014-04-15 18:08:23

BurntPizza (14 views)
2014-04-15 03:46:01

UprightPath (27 views)
2014-04-14 17:39:50

UprightPath (12 views)
2014-04-14 17:35:47

Porlus (29 views)
2014-04-14 15:48:38

tom_mai78101 (51 views)
2014-04-10 04:04:31

BurntPizza (110 views)
2014-04-08 23:06:04

tom_mai78101 (211 views)
2014-04-05 13:34:39

trollwarrior1 (180 views)
2014-04-04 12:06:45

CJLetsGame (185 views)
2014-04-01 02:16:10
List of Learning Resources
by Longarmx
2014-04-08 03:14:44

Good Examples
by matheus23
2014-04-05 13:51:37

Good Examples
by Grunnt
2014-04-03 15:48:46

Good Examples
by Grunnt
2014-04-03 15:48:37

Good Examples
by matheus23
2014-04-01 18:40:51

Good Examples
by matheus23
2014-04-01 18:40:34

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:22:30

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:05:20
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!