|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectptolemy.media.javasound.LiveSoundEvent
public class LiveSoundEvent
A LiveSoundEvent represents a change in an audio parameter of LiveSound. This event will be generated by LiveSound when an audio parameter change (e.g., a change in the sample rate) occurs, and is passed to the live sound event listeners to notify them about the change.
LiveSoundListener
Red |
Red (vogel) |
Field Summary | |
---|---|
private int |
_parameter
|
static int |
BITS_PER_SAMPLE
The value indicates a bits per channel change event. |
static int |
BUFFER_SIZE
The value indicates a buffer size change event. |
static int |
CHANNELS
The value indicates a channel number change event. |
static int |
SAMPLE_RATE
The value indicates a sample rate change event. |
Constructor Summary | |
---|---|
LiveSoundEvent(int parameter)
Construct a LiveSoundEvent, with the specified parameter. |
Method Summary | |
---|---|
int |
getSoundParameter()
Return the parameter of LiveSound that has changed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int SAMPLE_RATE
public static final int CHANNELS
public static final int BUFFER_SIZE
public static final int BITS_PER_SAMPLE
private int _parameter
Constructor Detail |
---|
public LiveSoundEvent(int parameter)
parameter
- The audio parameter of LiveSound that
has changed. The value of parameter should be one of
LiveSoundEvent.SAMPLE_RATE, LiveSoundEvent.CHANNELS,
LiveSoundEvent.BUFFER_SIZE, or
LiveSoundEvent.BITS_PER_SAMPLE.Method Detail |
---|
public int getSoundParameter()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |