de.humatic.dsj.sbe
Class StreamBufferSource

java.lang.Object
  extended by de.humatic.dsj.sbe.StreamBufferSource
Direct Known Subclasses:
StreamBufferBDASource, StreamBufferCaptureSource, StreamBufferFileSource

public class StreamBufferSource
extends java.lang.Object

Base class for the StreamBufferEngine's sink part.
dsj uses a different terminology here than DirectShow, where Source refers to the display part of the engine.


Field Summary
static int SB_SRC_BDA
          StreamBufferSource types
static int SB_SRC_CAPTURE
          StreamBufferSource types
static int SB_SRC_FILE
          StreamBufferSource types
static int SRC_RATE
          Source controls
static int SRC_TIME
          Source controls
 
Constructor Summary
StreamBufferSource()
           
 
Method Summary
 void controlSource(int parameter, int value)
           
 java.lang.Object getControls()
           
 DSFilterInfo[] getDeviceInfos()
           
 DSFilterInfo getInfo()
           
 int getSrcFlags()
           
 int[] getSrcParameters()
           
 int getType()
           
 void notifySource(DSStreamBufferGraph graph, long dp)
          This method is public for package design reasons.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SB_SRC_CAPTURE

public static final int SB_SRC_CAPTURE
StreamBufferSource types

See Also:
Constant Field Values

SB_SRC_BDA

public static final int SB_SRC_BDA
StreamBufferSource types

See Also:
Constant Field Values

SB_SRC_FILE

public static final int SB_SRC_FILE
StreamBufferSource types

See Also:
Constant Field Values

SRC_RATE

public static final int SRC_RATE
Source controls

See Also:
Constant Field Values

SRC_TIME

public static final int SRC_TIME
Source controls

See Also:
Constant Field Values
Constructor Detail

StreamBufferSource

public StreamBufferSource()
                   throws DSJException
Throws:
DSJException
Method Detail

getInfo

public DSFilterInfo getInfo()

getDeviceInfos

public DSFilterInfo[] getDeviceInfos()

notifySource

public void notifySource(DSStreamBufferGraph graph,
                         long dp)
This method is public for package design reasons. It is called internally and should not be used by application code!


controlSource

public void controlSource(int parameter,
                          int value)
                   throws DSJException
Throws:
DSJException

getControls

public java.lang.Object getControls()

getSrcFlags

public int getSrcFlags()

getType

public int getType()

getSrcParameters

public int[] getSrcParameters()