Class DSGraphProperty.TDSGraph
From Mitov Wiki Doc
(Difference between revisions)
(Automated Syncronization with Documentation) |
(Automated Syncronization with Documentation) |
Revision as of 00:10, 26 June 2013
This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Package: AudioLabBasicPkg
Unit: DSGraphProperty
Inherits: TLPPersistent
Contents |
Syntax
Delphi:
type TDSGraph = class( TLPPersistent )
C++ Builder:
class TDSGraph : public TLPPersistent
Visual C++ (MFC):
class CTDSGraph : public CTLPPersistent
C# (.NET):
public ref class TDSGraph : Vcl.VclProperty
Summary
DirectShow Graph settings class.
Description
Defines the class for DirectShow Graph settings.
Properties
Published
- AdditionalFilters - Additional DirectShow filters for the DirectShow graph during construction.
- Register - Registers the graph into the Windows Running Object Table.
Public
- MediaControl - IMediaControl interface of the DirectShow graph.
- MediaEvent - IMediaEvent interface of the DirectShow graph.
- GraphBuilder - ICaptureGraphBuilder2 interface of the DirectShow graph.
- Graph - IGraphBuilder interface of the DirectShow graph.
- Filters - The DirechShow filters of the graph.
- HiddenForm
Methods
Public
- function GetFilterList(AFiltersList : TStrings) : Boolean - Returns the list of names of DirectShow filters in the graph.
- function GetFilterByClassID(ClassID : TCLSID) : IBaseFilter
- function SetMediaEvent() : Boolean
- function CreateFilterByName(AFilterName : String) : IBaseFilter
- function ConnectFilterToPin(ASourceFilter : IBaseFilter; ASinkPin : IPin) : Boolean
- function GetAudioRender() : IBaseFilter
- function GetVideoRender() : IBaseFilter
- function RegisterAdditionalFilters() : Boolean
- function CreateGraph() : Boolean
- function CreateGraphBuilder() : Boolean
- procedure GraphChanged()
- procedure GraphBuilt()
- procedure DockResized(APreviewDock : IDSPreviewDock)
- function ConfigVideoWindow(APreviewDock : IDSPreviewDock; APreviewVisible : Boolean; AVideoSize : TSize) : Boolean
- procedure RegisterGraph()
- procedure UnregisterGraph()
- procedure Error(Msg : String; ErrorCode : Integer)
- procedure Warning(Msg : String; ErrorCode : Integer)
- procedure CheckWarning(Msg : String; AValue : HResult)
- procedure DestroyGraph()
- procedure DestroyDownstream(pFilter : IBaseFilter)
- procedure DestroyUpstream(pFilter : IBaseFilter)
- procedure SetMsgEvent(AValue : TWndMethod)
- procedure SetDrainMessage(AValue : IDSPreviewDock)
- function GetMediaControl() : Boolean
- function Run() : Boolean
- procedure Stop(AShowError : Boolean)
- function SaveToFile(AFileName : String) : Boolean - Saves the graph to a *.grf file.
- function GetOwner() : TPersistent
Pins
Events
- OnError - Occurs on DirectShow error.
- OnWarning - Occurs on DirectShow warning.
- OnGraphBuilt - Occurs when the DirectShow graph has been built.
- OnDeviceLost - Occurs when contact with capture or playback device has been lost.
- OnAborted - Occurs when the data streaming has been aborted.
- OnStarvation - Occurs when DirectShow is starving for data buffers.