Class DSGraphProperty.TDSGraph
From Mitov Wiki Doc
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
- Filters - The DirechShow filters of the graph.
- 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.
- HiddenForm
Methods
Public
- function GetFilterList(AFiltersList : TStrings) : Boolean - Returns the list of names of DirectShow filters in the graph.
- procedure GraphChanged()
- procedure GraphBuilt()
- procedure DockResized(APreviewDock : IDSPreviewDock)
- 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)
- procedure Stop(AShowError : Boolean)
- function SaveToFile(AFileName : String) : Boolean - Saves the graph to a *.grf file.
- procedure PostMessage(Msg : UINT; wParam : WPARAM; lParam : LPARAM)
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.