net.sf.fmj.media
Class CloneableCaptureDevicePushBufferDataSource

java.lang.Object
  extended by javax.media.protocol.DataSource
      extended by javax.media.protocol.PushBufferDataSource
          extended by net.sf.fmj.media.CloneablePushBufferDataSource
              extended by net.sf.fmj.media.CloneableCaptureDevicePushBufferDataSource
All Implemented Interfaces:
Controls, Duration, CaptureDevice, SourceCloneable

public class CloneableCaptureDevicePushBufferDataSource
extends CloneablePushBufferDataSource
implements CaptureDevice

Cloneable PushBufferDataSource that also implements CaptureDevice. Note: created clones do not implement CaptureDevice. This is consistent with JMF.

Author:
Ken Larson

Field Summary
 
Fields inherited from interface javax.media.Duration
DURATION_UNBOUNDED, DURATION_UNKNOWN
 
Constructor Summary
CloneableCaptureDevicePushBufferDataSource(PushBufferDataSource source)
           
 
Method Summary
 CaptureDeviceInfo getCaptureDeviceInfo()
           
 FormatControl[] getFormatControls()
           
 
Methods inherited from class net.sf.fmj.media.CloneablePushBufferDataSource
connect, createClone, disconnect, getContentType, getControl, getControls, getDuration, getStreams, start, stop
 
Methods inherited from class javax.media.protocol.DataSource
getLocator, initCheck, setLocator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.media.protocol.CaptureDevice
connect, disconnect, start, stop
 

Constructor Detail

CloneableCaptureDevicePushBufferDataSource

public CloneableCaptureDevicePushBufferDataSource(PushBufferDataSource source)
Method Detail

getCaptureDeviceInfo

public CaptureDeviceInfo getCaptureDeviceInfo()
Specified by:
getCaptureDeviceInfo in interface CaptureDevice

getFormatControls

public FormatControl[] getFormatControls()
Specified by:
getFormatControls in interface CaptureDevice