Hello Morris,
I received a WAV file from a customer, to play with
ScriptingComponent.
I can play it well using my PC software by clicking on it, hence I
think the file is in good shape.
The platform is Ubuntu 10.04 and latest trunks of core and modules.
When doing MyClass.playSound("visite.wav", 400, 0);
I get the following exception:
Gonna try to play -
http://91.121.104.106:8080//webdav/content/sounds/hotesse/visite.wav
- URL -
http://91.121.104.106:8080//webdav/content/sounds/hotesse/visite.wav
3 mai 2012 17:35:23 org.jdesktop.wonderland.client.jme.JmeClientMain$1
uncaughtException
ATTENTION: Uncaught exception
java.lang.IllegalArgumentException: No line matching interface
SourceDataLine supporting format PCM_SIGNED 44100.0 Hz, 32 bit,
stereo, 8 bytes/frame, little-endian is supported.
at javax.sound.sampled.AudioSystem.getLine(Unknown Source)
at
org.jdesktop.wonderland.modules.scriptingComponent.client.ScriptingComponent
$playSoundThread.run(ScriptingComponent.java:469)
Do you know what is the problem here ? is that "format" unusable by
ScriptingComponent ?
Thanks,
-michel
ps: the file is located at:
http://www.internet3solutions.com/visite.wav