|
j3d.org Aviatrix3D | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public static final int FORMAT_MONO8
public static final int FORMAT_MONO16
public static final int FORMAT_SETERO8
public static final int FORMAT_STEREO16
Method Detail |
public int getFormat()
public int getFrequency()
public boolean getLoop()
public float getPitch()
public int getBufferId(net.java.games.joal.AL al, int seq)
seq
- The sequence number
|
j3d.org Aviatrix3D | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |