AssetLoader for Music instances. The Music instance is loaded synchronously.
| 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, MusicLoader.
Implements abstract com. Returns the assets this asset requires to be loaded first. |
| protected Music | |
| public void | loadAsync(AssetManager manager, String fileName, FileHandle file, MusicLoader.
Implements abstract com. Loads the non-OpenGL part of the asset and injects any dependencies of the asset into the AssetManager. |
| public Music | loadSync(AssetManager manager, String fileName, FileHandle file, MusicLoader.
Implements abstract com. Loads the OpenGL part of the asset. |
| music | back to summary |
|---|---|
| private Music music | |
| MusicLoader | back to summary |
|---|---|
| public MusicLoader(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.
| |
| getLoadedMusic | back to summary |
|---|---|
| protected Music getLoadedMusic() Returns the | |
| loadAsync | back to summary |
|---|---|
| public void loadAsync(AssetManager manager, String fileName, FileHandle file, MusicLoader. 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 Music loadSync(AssetManager manager, String fileName, FileHandle file, MusicLoader. Implements abstract com. Doc from com. Loads the OpenGL part of the asset.
| |
| Access | Constructor and Description |
|---|---|
| public |
| MusicParameter | back to summary |
|---|---|
| public MusicParameter() | |