Package org.jitsi.impl.neomedia.device
Class NoneAudioSystem
- java.lang.Object
-
- org.jitsi.utils.event.PropertyChangeNotifier
-
- org.jitsi.impl.neomedia.device.DeviceSystem
-
- org.jitsi.impl.neomedia.device.AudioSystem
-
- org.jitsi.impl.neomedia.device.NoneAudioSystem
-
public class NoneAudioSystem extends AudioSystem
Implements an AudioSystem without any devices which allows the user to select to use no audio capture, notification and playback.- Author:
- Lyubomir Marinov
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jitsi.impl.neomedia.device.AudioSystem
AudioSystem.DataFlow
-
-
Field Summary
Fields Modifier and Type Field Description static StringLOCATOR_PROTOCOL-
Fields inherited from class org.jitsi.impl.neomedia.device.AudioSystem
FEATURE_AGC, FEATURE_DENOISE, FEATURE_ECHO_CANCELLATION, FEATURE_NOTIFY_AND_PLAYBACK_DEVICES, LOCATOR_PROTOCOL_AUDIORECORD, LOCATOR_PROTOCOL_AUDIOSILENCE, LOCATOR_PROTOCOL_JAVASOUND, LOCATOR_PROTOCOL_MACCOREAUDIO, LOCATOR_PROTOCOL_OPENSLES, LOCATOR_PROTOCOL_PORTAUDIO, LOCATOR_PROTOCOL_PULSEAUDIO, LOCATOR_PROTOCOL_WASAPI, PNAME_DENOISE, PNAME_ECHOCANCEL
-
Fields inherited from class org.jitsi.impl.neomedia.device.DeviceSystem
FEATURE_REINITIALIZE, LOCATOR_PROTOCOL_ANDROIDCAMERA, LOCATOR_PROTOCOL_CIVIL, LOCATOR_PROTOCOL_DIRECTSHOW, LOCATOR_PROTOCOL_IMGSTREAMING, LOCATOR_PROTOCOL_MEDIARECORDER, LOCATOR_PROTOCOL_QUICKTIME, LOCATOR_PROTOCOL_VIDEO4LINUX2, PROP_DEVICES
-
-
Constructor Summary
Constructors Constructor Description NoneAudioSystem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoInitialize()Invoked byDeviceSystem.initialize()to perform the very logic of the initialization of this DeviceSystem.StringtoString()Returns a human-readable representation of this DeviceSystem.-
Methods inherited from class org.jitsi.impl.neomedia.device.AudioSystem
createRenderer, createRenderer, getAudioInputStream, getAudioSystem, getAudioSystems, getDevice, getDevices, getFormat, getPropertyName, getSelectedDevice, isAutomaticGainControl, isDenoise, isEchoCancel, postInitialize, postInitializeSpecificDevices, preInitialize, setAutomaticGainControl, setCaptureDevices, setDenoise, setDevice, setEchoCancel, setPlaybackDevices
-
Methods inherited from class org.jitsi.impl.neomedia.device.DeviceSystem
filterDeviceListByLocatorProtocol, getDeviceSystems, getFeatures, getFormat, getLocatorProtocol, getMediaType, getRendererClassName, initialize, initializeDeviceSystems, initializeDeviceSystems
-
-
-
-
Field Detail
-
LOCATOR_PROTOCOL
public static final String LOCATOR_PROTOCOL
- See Also:
- Constant Field Values
-
-
Method Detail
-
doInitialize
protected void doInitialize() throws ExceptionDescription copied from class:DeviceSystemInvoked byDeviceSystem.initialize()to perform the very logic of the initialization of this DeviceSystem. This instance has been prepared for initialization by an earlier call toDeviceSystem.preInitialize()and the initialization will be completed with a subsequent call toDeviceSystem.postInitialize().- Specified by:
doInitializein classDeviceSystem- Throws:
Exception- if an error occurs during the initialization of this instance. The initialization of this instance will be completed with a subsequent call to postInitialize() regardless of any Exception thrown by doInitialize().
-
toString
public String toString()
Description copied from class:DeviceSystemReturns a human-readable representation of this DeviceSystem. The implementation of DeviceSystem returns the protocol of the MediaLocators of the CaptureDeviceInfos (to be) registered by this DeviceSystem.- Overrides:
toStringin classDeviceSystem- Returns:
- a String which represents this DeviceSystem in a human-readable form
-
-