private Sound sound;
public FmodSound(ByteBuffer buffer) throws SoundSystemException {
sound = new Sound();
FMOD_CREATESOUNDEXINFO exinfo = FMOD_CREATESOUNDEXINFO.allocate();
exinfo.setLength(buffer.capacity());
errorCheck(system.createSound(buffer, FMOD_MODE.FMOD_SOFTWARE | FMOD_MODE.FMOD_OPENMEMORY, exinfo, sound));
}