public final class DummyAudioEngine extends SoundEngine
| Modifier and Type | Class and Description |
|---|---|
static class |
DummyAudioEngine.EmptySoundSource
Dummy sound source.
|
listener| Constructor and Description |
|---|
DummyAudioEngine() |
| Modifier and Type | Method and Description |
|---|---|
void |
addResourcePath(String path)
Add a path to load resources.
|
protected void |
closeImpl() |
Playlist |
createPlaylist(String name)
Build a play list of music to be played.
|
SoundSource |
createSound(String file)
Build a SoundSource from a file.
|
void |
update()
Update the current audio state.
|
close, setListener, testAudioprotected void closeImpl()
closeImpl in class SoundEnginepublic void update()
SoundEngineupdate in class SoundEnginepublic Playlist createPlaylist(String name)
SoundEnginecreatePlaylist in class SoundEnginename - Play list name.public SoundSource createSound(String file)
SoundBuilderfile - File to load.public void addResourcePath(String path)
SoundEngineaddResourcePath in class SoundEnginepath - Path to use.Copyright © 2014–2017. All rights reserved.