-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to load file 'combobreak.wav'. #89
Comments
Can you upload or link to the files that are causing the errors? |
I just put the setting "Disable all sound effects" to No and a get all .wav effects failed to load. Putting on Yes it don't happen maybe it's my Linux sound driver |
That sound file is a 8-bit 11025Hz mono wav file and it seems like icedtea just uses pulseaudio directly to do the audio output and the pulse documentation says that it should support 8-bit PCM and sample rates anywhere from 1Hz to 192000Hz. I tried to run it with icedtea on my Ubuntu lappy and I actually get a different exception (line unavailable). I do wonder though @itdelatrisu , should we maybe just convert all sound samples to 44100Hz 16-bit stereo PCM? Having them all be different seems kind of weird and the re-sampled sounds would only be around 2-3 times the size they currently are. |
Never mind it doesn't actually seem to be a format issue. Somehow OpenJDK has an issue with the Audio System classes. Seems like using OracleJRE will be a temporary solution. I'm going to see if I can't find some more info on the OpenJDK issue. edit: Eh, I'm going to give up searching for a solution to get this to run on OpenJDK for now since the GStreamer thing may circumvent this issue anyway later and this problem seems to be have been plaguing other project for more than 3 years now. But please do report if it still doesn't work with OracleJRE. |
Work around without installing OracleJRE: edit
to this:
But it should be noted that there was a reason why the default backend was replaced with pulseaudio. The latency and consistency in the latency is beyond terrible this way (for me at least). |
@Bigpet: Thanks for looking into the issue. Any suggestions on how I should handle this, then? x.x |
Well the primary issue is that that However the documentation for that API does not actually guarantee that if So the options as I see them are:
But I might also be missing something here. |
Version: 0.9.0
Build date: 2015-05-17 19:41
OS: Linux (i386)
JRE: 1.7.0_79
Error:
Failed to load file 'combobreak.wav'.
Stack trace:
The text was updated successfully, but these errors were encountered: