| Package | Description |
|---|---|
| paulscode.sound | |
| paulscode.sound.libraries |
| Modifier and Type | Field and Description |
|---|---|
Source |
Channel.attachedSource
Whatever source is attached to this channel.
|
| Modifier and Type | Field and Description |
|---|---|
protected HashMap<String,Source> |
Library.sourceMap
Map containing all created sources for easy look-up by name.
|
| Modifier and Type | Method and Description |
|---|---|
Source |
Library.getSource(String sourcename)
Returns the Source object identified by the specified name.
|
| Modifier and Type | Method and Description |
|---|---|
HashMap<String,Source> |
Library.getSources()
Returns the sources map.
|
| Modifier and Type | Method and Description |
|---|---|
int |
Library.feedRawAudioData(Source source,
byte[] buffer)
Feeds raw data through the specified source.
|
void |
Library.play(Source source)
Plays the specified source.
|
void |
StreamThread.watch(Source source)
Adds a new streaming source to the list.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Library.copySources(HashMap<String,Source> srcMap)
Creates sources based on the source map provided.
|
| Constructor and Description |
|---|
Source(Source old,
SoundBuffer soundBuffer)
Constructor: Creates a new source matching the specified one.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SourceJavaSound
The SourceJavaSound class provides an interface to the JavaSound library.
|
| Modifier and Type | Method and Description |
|---|---|
void |
LibraryJavaSound.copySources(HashMap<String,Source> srcMap)
Creates sources based on the source map provided.
|
| Constructor and Description |
|---|
SourceJavaSound(ListenerData listener,
Source old,
SoundBuffer soundBuffer)
Constructor: Creates a new source matching the specified source.
|
Copyright © 2017. All rights reserved.