if (JXAenvUtils._debug) {
System.err.println(" jlayer sound");
}
}
if ((soundState & bits._getMask(SND_INTERFACE_BIT) & SND_INTERFACE_OPENAL) != 0) {
WaveData waveFile = null;
Map<String, Serializable> map = null;
if (!_ALCache.containsKey(filename)) {
waveFile = WaveData.create(new BufferedInputStream(isInnerResourceModeEnabled() ? getClass().getResourceAsStream(filename) : new FileInputStream(file)));
map = new HashMap<String, Serializable>();
if (waveFile != null) {
map.put("data", new BufferIO(waveFile.data));
map.put("format", waveFile.format);
map.put("samplerate", waveFile.samplerate);
waveFile.dispose();
loaded = true;
_ALCache.put(filename, map);
if (JXAenvUtils._debug) {
System.err.println(" openAL sound");
}