AssetLoader to load Sound instances.
| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Array | getDependencies(String fileName, FileHandle file, SoundLoader.
Implements abstract com. Returns the assets this asset requires to be loaded first. |
| protected Sound | |
| public void | loadAsync(AssetManager manager, String fileName, FileHandle file, SoundLoader.
Implements abstract com. Loads the non-OpenGL part of the asset and injects any dependencies of the asset into the AssetManager. |
| public Sound | loadSync(AssetManager manager, String fileName, FileHandle file, SoundLoader.
Implements abstract com. Loads the OpenGL part of the asset. |
| sound | back to summary |
|---|---|
| private Sound sound | |
| SoundLoader | back to summary |
|---|---|
| public SoundLoader(FileHandleResolver resolver) | |
| getDependencies | back to summary |
|---|---|
| public Array Implements abstract com. Doc from com. Returns the assets this asset requires to be loaded first. This method may be called on a thread other than the GL thread.
| |
| getLoadedSound | back to summary |
|---|---|
| protected Sound getLoadedSound() Returns the | |
| loadAsync | back to summary |
|---|---|
| public void loadAsync(AssetManager manager, String fileName, FileHandle file, SoundLoader. Implements abstract com. Doc from com. Loads the non-OpenGL part of the asset and injects any dependencies of the asset into the AssetManager.
| |
| loadSync | back to summary |
|---|---|
| public Sound loadSync(AssetManager manager, String fileName, FileHandle file, SoundLoader. Implements abstract com. Doc from com. Loads the OpenGL part of the asset.
| |
| Access | Constructor and Description |
|---|---|
| public |
| SoundParameter | back to summary |
|---|---|
| public SoundParameter() | |