| Package | Description |
|---|---|
| paulscode.sound | |
| paulscode.sound.libraries |
| Modifier and Type | Field and Description |
|---|---|
protected ListenerData |
Library.listener
Position and orientation of the listener.
|
| Modifier and Type | Method and Description |
|---|---|
ListenerData |
Library.getListenerData()
Returns information about the listener.
|
ListenerData |
SoundSystem.getListenerData()
Method for obtaining information about the listener's position and
orientation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ListenerData.setData(ListenerData l)
Change this listener data to match the specified listener data.
|
void |
Library.setListenerData(ListenerData l)
Changes the listeners position and orientation using the specified listener
data.
|
| Modifier and Type | Field and Description |
|---|---|
ListenerData |
SourceJavaSound.listener
Handle to the listener information.
|
| Constructor and Description |
|---|
SourceJavaSound(ListenerData listener,
AudioFormat audioFormat,
boolean priority,
String sourcename,
float x,
float y,
float z,
int attModel,
float distOrRoll)
Constructor: Creates a new streaming source that will be directly fed with
raw audio data.
|
SourceJavaSound(ListenerData listener,
boolean priority,
boolean toStream,
boolean toLoop,
String sourcename,
FilenameURL filenameURL,
SoundBuffer soundBuffer,
float x,
float y,
float z,
int attModel,
float distOrRoll,
boolean temporary)
Constructor: Creates a new source using the specified parameters.
|
SourceJavaSound(ListenerData listener,
Source old,
SoundBuffer soundBuffer)
Constructor: Creates a new source matching the specified source.
|
Copyright © 2017. All rights reserved.