de.lessvoid.nifty.spi.sound.SoundHandle Java Examples
The following examples show how to use
de.lessvoid.nifty.spi.sound.SoundHandle.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: SoundDeviceJme.java From jmonkeyengine with BSD 3-Clause "New" or "Revised" License | 4 votes |
@Override public SoundHandle loadSound(SoundSystem soundSystem, String filename) { AudioNode an = new AudioNode(assetManager, filename, AudioData.DataType.Buffer); an.setPositional(false); return new SoundHandleJme(ar, an); }
Example #2
Source File: SoundDeviceJme.java From jmonkeyengine with BSD 3-Clause "New" or "Revised" License | 4 votes |
@Override public SoundHandle loadMusic(SoundSystem soundSystem, String filename) { return new SoundHandleJme(ar, assetManager, filename); }
Example #3
Source File: SoudDevicenull.java From niftyeditor with Apache License 2.0 | 4 votes |
@Override public SoundHandle loadSound(SoundSystem ss, String string) { return new SoundHandleNullImpl(); }
Example #4
Source File: SoudDevicenull.java From niftyeditor with Apache License 2.0 | 4 votes |
@Override public SoundHandle loadMusic(SoundSystem ss, String string) { return new SoundHandleNullImpl(); }
Example #5
Source File: SoundDeviceJme.java From MikuMikuStudio with BSD 2-Clause "Simplified" License | 4 votes |
public SoundHandle loadSound(SoundSystem soundSystem, String filename) { AudioNode an = new AudioNode(assetManager, filename, false); an.setPositional(false); return new SoundHandleJme(ar, an); }
Example #6
Source File: SoundDeviceJme.java From MikuMikuStudio with BSD 2-Clause "Simplified" License | 4 votes |
public SoundHandle loadMusic(SoundSystem soundSystem, String filename) { return new SoundHandleJme(ar, assetManager, filename); }