public class AudioInput extends AudioSource
AudioInput
provides no extra functionality over what
AudioSource
does, it exists simply for the sake of having a class named
for input from the system. You can obtain an AudioInput
by calling
one of the getLineIn
methods of Minim
. The audio that
the input receives will depend on the current record source of the computer
(such as the line-in or microphone).left, mix, right
BALANCE, GAIN, MUTE, PAN, SAMPLE_RATE, VOLUME
Constructor and Description |
---|
AudioInput(AudioStream stream,
AudioOut out)
Constructs an
AudioInput that subscribes to stream and
can control the DataLine that stream is reading from. |
addEffect, addListener, bufferSize, clearEffects, close, disableEffect, disableEffect, effectCount, effects, enableEffect, enableEffect, getEffect, getFormat, hasEffect, isEffected, isEnabled, noEffects, removeEffect, removeEffect, removeListener, sampleRate, type
balance, gain, getBalance, getControl, getControls, getGain, getPan, getVolume, hasControl, isMuted, mute, pan, printControls, setBalance, setGain, setPan, setVolume, shiftBalance, shiftGain, shiftPan, shiftVolume, unmute, volume
public AudioInput(AudioStream stream, AudioOut out)
AudioInput
that subscribes to stream
and
can control the DataLine
that stream
is reading from.stream
- the AudioStream
that this will subscribe to for samples