Class StereoDeviceFactory

    • Constructor Detail

      • StereoDeviceFactory

        public StereoDeviceFactory()
    • Method Detail

      • createDevice

        public final StereoDevice createDevice​(int deviceIndex,
                                               StereoDeviceConfig config,
                                               boolean verbose)
        Parameters:
        deviceIndex -
        config - optional custom configuration, matching the implementation, i.e. StereoDeviceConfig.GenericStereoDeviceConfig.
        verbose -
        Returns:
      • isValid

        public abstract boolean isValid()
        Returns true, if instance is created and not shutdown() otherwise returns false.
      • shutdown

        public abstract void shutdown()
        Shutdown factory if valid.