Class CaptureDevices


  • public class CaptureDevices
    extends Devices
    Manages the list of active (currently plugged-in) capture devices and manages user preferences between all known devices (previously and actually plugged-in).
    Author:
    Vincent Lucas
    • Constructor Detail

      • CaptureDevices

        public CaptureDevices​(AudioSystem audioSystem)
        Initializes the capture device list management.
        Parameters:
        audioSystem - The audio system managing this capture device list.
    • Method Detail

      • getDevices

        public List<CaptureDeviceInfo2> getDevices()
        Returns the list of the CaptureDeviceInfo2s which are active/plugged-in.
        Overrides:
        getDevices in class Devices
        Returns:
        the list of the CaptureDeviceInfo2s which are active/plugged-in
      • getPropDevice

        protected String getPropDevice()
        Returns the property of the capture devices.
        Specified by:
        getPropDevice in class Devices
        Returns:
        The property of the capture devices.
      • setDevices

        public void setDevices​(List<CaptureDeviceInfo2> devices)
        Sets the list of CaptureDeviceInfo2s which are active/plugged-in.
        Overrides:
        setDevices in class Devices
        Parameters:
        devices - the list of CaptureDeviceInfo2s which are active/plugged-in