| Package | Description |
|---|---|
| paulscode.sound | |
| paulscode.sound.libraries |
| Modifier and Type | Method and Description |
|---|---|
static SoundSystemException |
SoundSystem.getLastException()
Returns the last SoundSystemException thrown, or null if none.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
SoundSystem.setException(SoundSystemException e)
Stores a SoundSystemException which can be retreived later with the
'getLastException' method.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
SoundSystemConfig.addLibrary(Class libraryClass)
Adds an entry to the list of library types.
|
void |
Library.init()
Initializes the sound library.
|
protected void |
SoundSystem.init(Class libraryClass)
Loads the message logger, initializes the specified sound library, and
starts the command thread.
|
boolean |
SoundSystem.newLibrary(Class libraryClass)
Switches to the specified library, loosing all sources.
|
static void |
SoundSystemConfig.removeLibrary(Class libraryClass)
Removes the specified library from the list of library types.
|
static void |
SoundSystemConfig.setCodec(String extension,
Class iCodecClass)
Uses the specified file extension to associate a particular file format
with the codec used to read audio data from it.
|
boolean |
SoundSystem.switchLibrary(Class libraryClass)
Switches to the specified library, and preserves all sources.
|
| Constructor and Description |
|---|
Library()
Constructor: Instantiates the source map and listener information.
|
SoundSystem(Class libraryClass)
Constructor: Create the sound system using the specified library.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
LibraryJavaSound.Exception
The LibraryJavaSound.Exception class provides library-specific error
information.
|
| Modifier and Type | Method and Description |
|---|---|
void |
LibraryJavaSound.init()
Initializes Javasound.
|
static void |
LibraryJavaSound.setMixer(Mixer m)
Sets the current mixer.
|
| Constructor and Description |
|---|
LibraryJavaSound()
Constructor: Instantiates the source map, buffer map and listener
information.
|
Copyright © 2017. All rights reserved.