com.teamdev.jxcapture.audio
Class AudioSource

java.lang.Object
  extended by com.teamdev.jxcapture.MediaSource
      extended by com.teamdev.jxcapture.audio.AudioSource
Direct Known Subclasses:
AudioSourceImpl, AudioSourceImpl

public class AudioSource
extends MediaSource

Represents an audio source device which can be specified for VideoCapture for recording.


Field Summary
static java.lang.String PROPERTY_CHANNELS
           
 
Fields inherited from class com.teamdev.jxcapture.MediaSource
PROPERTY_ACTIVE, PROPERTY_ENABLED, PROPERTY_NAME
 
Constructor Summary
protected AudioSource()
           
 
Method Summary
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.
 
Methods inherited from class com.teamdev.jxcapture.MediaSource
activate, addPropertyChangeListener, deactivate, getName, getPropertyChangeSupport, isActive, isEnabled, release, removePropertyChangeListener, setEnabled, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PROPERTY_CHANNELS

public static final java.lang.String PROPERTY_CHANNELS
See Also:
Constant Field Values
Constructor Detail

AudioSource

protected AudioSource()
Method Detail

getChannels

public AudioChannels getChannels()
Returns AudioChannels of the devices.

Returns:
audio channels object

setChannels

protected void setChannels(AudioChannels channels)
Specify audio channels for this device.

Parameters:
channels - channels type

getAvailable

public static java.util.List<AudioSource> getAvailable()
Returns the list of audio source devices available in the system.

Returns:
collection of available AudioSource devices