public interface Recordable
Modifier and Type | Method and Description |
---|---|
void |
addListener(AudioListener listener)
Adds a listener who will be notified each time this receives
or creates a new buffer of samples.
|
int |
bufferSize()
Returns the buffer size being used by this.
|
javax.sound.sampled.AudioFormat |
getFormat()
Returns the format of this recordable audio.
|
void |
removeListener(AudioListener listener)
Removes the listener from the list of listeners.
|
float |
sampleRate()
Returns the sample rate of the audio.
|
int |
type()
Returns either Minim.MONO or Minim.STEREO
|
void addListener(AudioListener listener)
listener
- the listener to addvoid removeListener(AudioListener listener)
listener
- the listener to removejavax.sound.sampled.AudioFormat getFormat()
int type()
int bufferSize()
float sampleRate()