|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AudioSource
Marker interface representing a class that provides source data for a
Sound
object.
The source can come from many different places, such as external data images, streams etc), or dynamically generated (multipass rendering). All texture objects require a source of data, and a single source can be added to multiple texture objects.
It is not intended that this interface be used directly as there is not much directly usable information. Derived versions of this interface will provide more interesting and source-specific behaviour.
Field Summary | |
---|---|
static int |
FORMAT_MONO16
Specifies the source is a mono channel, 16 bit |
static int |
FORMAT_MONO8
Specifies the source is a mono channel, 8 bit |
static int |
FORMAT_SETERO8
Specifies the source is a mono channel, 8 bit |
static int |
FORMAT_STEREO16
Specifies the source is a mono channel, 16 bit |
Method Summary | |
---|---|
int |
getBufferId(net.java.games.joal.AL al,
int seq)
Get a bufferId for a given seq and context. |
int |
getFormat()
Get the format of this sound source. |
int |
getFrequency()
Get the frequency of this sound source. |
boolean |
getLoop()
Does this source loop. |
float |
getPitch()
The pitch to play the sound at. |
Field Detail |
---|
static final int FORMAT_MONO8
static final int FORMAT_MONO16
static final int FORMAT_SETERO8
static final int FORMAT_STEREO16
Method Detail |
---|
int getFormat()
int getFrequency()
boolean getLoop()
float getPitch()
int getBufferId(net.java.games.joal.AL al, int seq)
seq
- The sequence number
|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |