public class LiveSoundEvent
extends java.lang.Object
LiveSoundListener
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
LiveSoundEvent(int parameter)
Construct a LiveSoundEvent, with the specified parameter.
|
Modifier and Type | Method and Description |
---|---|
int |
getSoundParameter()
Return the parameter of LiveSound that has changed.
|
public static final int SAMPLE_RATE
public static final int CHANNELS
public static final int BUFFER_SIZE
public static final int BITS_PER_SAMPLE
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.public int getSoundParameter()