net.sf.fmj.media.cdp.GlobalCaptureDevicePlugger Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fmj Show documentation
Show all versions of fmj Show documentation
Freedom for Media in Java
package net.sf.fmj.media.cdp;
/**
* Global singleton CaptureDevicePlugger. Calls all specific
* CaptureDevicePluggers. Dynamically adds CaptureDeviceInfo to the
* CaptureDeviceManager. Does not commit.
*
* @author Ken Larson
*
*/
public final class GlobalCaptureDevicePlugger
{
public static void addCaptureDevices()
{
// This is hard-coded to call all known capture device pluggers. Would
// be nice to
// make this more dynamic.
new net.sf.fmj.media.cdp.civil.CaptureDevicePlugger()
.addCaptureDevices();
new net.sf.fmj.media.cdp.javasound.CaptureDevicePlugger()
.addCaptureDevices();
}
private GlobalCaptureDevicePlugger()
{ // Do nothing.
}
}