Hey, has anyone gotten 3D sound to work in FMOD? I've looked at what i can find of documentation, and also looked at the forums on fmod.org. I think I've set it up right, but i get errors which don't really tell me much:
Stack: [0x00030000,0x00070000), sp=0x0006f908, free space=254k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [fmod.dll+0x22994]
C [lwjgl-fmod3.dll+0x4149]
j org.lwjgl.fmod3.FSound.FSOUND_3D_SetAttributes(ILjava/nio/FloatBuffer;Ljava/nio/FloatBuffer;)Z+27
j rottmann.LydBehandler.oppdaterKilde(Lrottmann/Entitet;I)V+71
j rottmann.Core.render()Z+612
j rottmann.Core.gameLoop()V+29
j rottmann.Core.<init>()V+157
j rottmann.Core.main([Ljava/lang/String;)V+3
v ~StubRoutines::call_stub
V [jvm.dll+0x8168d]
V [jvm.dll+0xd4179]
V [jvm.dll+0x8155e]
V [jvm.dll+0x8844c]
C [javaw.exe+0x14c0]
C [javaw.exe+0x313d]
C [kernel32.dll+0x16d4f]
I would really appreciate it if someone had an example of working 3D sound code in FMOD..
edit: I fixed the error by rewinding the floatbuffers i use for position and velocity. The program runs now, but the sound doesn't seem 3d... It sounds the same wherever i position the listener. :s