![JAR search and dependency download from the Maven repository](/logo.png)
com.jme3.system.gdx.GdxAudioLoader Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mms-gdx Show documentation
Show all versions of mms-gdx Show documentation
A game engine compatible with MikuMikuDance.
The newest version!
package com.jme3.system.gdx;
import com.jme3.asset.AssetInfo;
import com.jme3.asset.AssetLoader;
import java.io.IOException;
import java.io.InputStream;
/**
* Created by kobayasi on 2013/12/29.
*/
public class GdxAudioLoader implements AssetLoader {
@Override
public Object load(AssetInfo assetInfo) throws IOException
{
InputStream in = assetInfo.openStream();
if (in != null)
{
in.close();
}
GdxAudioData result = new GdxAudioData();
result.setAssetKey( assetInfo.getKey() );
return result;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy