1
Projects / Re: 3D Sound System
« on: November 05, 2009, 03:53:26 pm »
Hello. It's my first try to tickle SoundSystemJPCT so I might miss something.
I tried playing sounds with the quickPlay() method. The code is exactly the same as in the Helicopter.java with the only difference - I do'not assign the sound to an Object3D:
I tried playing sounds with the quickPlay() method. The code is exactly the same as in the Helicopter.java with the only difference - I do'not assign the sound to an Object3D:
Code: [Select]
soundSystem.quickPlay( "menu.wav", false);
unfortunately it fails showing me the following message:Code: [Select]
Exception in thread "Thread-290" java.lang.ClassCastException: java.lang.String cannot be cast to paulscode.sound.FilenameURL
at paulscode.sound.SoundSystem.ManageSources(SoundSystem.java:2153)
at paulscode.sound.CommandThread.run(CommandThread.java:118)