public class AudioSource extends MediaSource
VideoCapture
for recording.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROPERTY_CHANNELS |
PROPERTY_ACTIVE, PROPERTY_ENABLED, PROPERTY_NAME
Modifier | Constructor and Description |
---|---|
protected |
AudioSource() |
Modifier and Type | Method and Description |
---|---|
static java.util.List<AudioSource> |
getAvailable()
Returns the list of audio source devices available in the system.
|
AudioChannels |
getChannels()
Returns
AudioChannels of the devices. |
protected void |
setChannels(AudioChannels channels)
Specify audio channels for this device.
|
activate, addPropertyChangeListener, deactivate, getName, getPropertyChangeSupport, isActive, isEnabled, release, removePropertyChangeListener, setEnabled, setName, toString
public static final java.lang.String PROPERTY_CHANNELS
public AudioChannels getChannels()
AudioChannels
of the devices.protected void setChannels(AudioChannels channels)
channels
- channels typepublic static java.util.List<AudioSource> getAvailable()
AudioSource
devices