de.humatic.dsj
Class DSFilter.DSPin

java.lang.Object
  extended by de.humatic.dsj.DSFilter.DSPin
Enclosing class:
DSFilter

public class DSFilter.DSPin
extends java.lang.Object


Method Summary
 DSFilter.DSPin connectedTo()
          Returns the pin this pin is currently connected to or null if unconnected.
 DSMediaType getConnectionMediaType()
           
 int getDirection()
           
 DSFilter getFilter()
          Returns the DSFilter that owns this pin
 int[] getFormatCaps()
          Returns an int[] representing either a DirectShow VIDEO_STREAM_CONFIG_CAPS or AUDIO_STREAM_CONFIG_CAPS structure describing the capabilities of the currently set format on the (output) pin.
 int getIndex()
           
 java.lang.String getName()
           
 DSFilterInfo.DSPinInfo getPinInfo()
          Returns the PinInfo describing this pin
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getPinInfo

public DSFilterInfo.DSPinInfo getPinInfo()
Returns the PinInfo describing this pin


getDirection

public int getDirection()

getName

public java.lang.String getName()

getIndex

public int getIndex()

getFilter

public DSFilter getFilter()
Returns the DSFilter that owns this pin


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

connectedTo

public DSFilter.DSPin connectedTo()
Returns the pin this pin is currently connected to or null if unconnected.


getConnectionMediaType

public DSMediaType getConnectionMediaType()
                                   throws DSJException
Throws:
DSJException

getFormatCaps

public int[] getFormatCaps()
Returns an int[] representing either a DirectShow VIDEO_STREAM_CONFIG_CAPS or AUDIO_STREAM_CONFIG_CAPS structure describing the capabilities of the currently set format on the (output) pin. For more information see DS documentation on msdn