|
IMVPlaylistSource
The IMVPlaylist interface contains methods and properties to
configure the MV Playlist
Source filter.
Methods:
Header file:
IMVPlaylistSource.h
Interface definition language file: IMVPlaylistSource.idl
Typelib: MVPlaylistSource
Interface ID: IID_IMVPlaylistSource
Method
IMVPlaylistSource::ApplyPlaylist
Declaration: Sub
ApplyPlaylist
Create the internal filter grahs for the playlist. Call
this method before connecting the output pins. Do not call this
method with connected output pins.
C Prototype:
HRESULT ApplyPlaylist();
Property
IMVPlaylistSource::FrameDelayCurrent
Declaration:
Property Get FrameDelayCurrent As Double
Current frame delay value in seconds.
This value is the maximum value since the last call.
C Prototype:
HRESULT put_FrameDelayCurrent(DOUBLE
newVal);
HRESULT get_FrameDelayCurrent(DOUBLE *pVal);
Property
IMVPlaylistSource::FrameDelayMax
Declaration:
Property Get FrameDelayMax As Double
Maximum frame delay value in seconds.
C Prototype:
HRESULT put_FrameDelayMax(DOUBLE
newVal);
HRESULT get_FrameDelayMax(DOUBLE *pVal);
Method
IMVPlaylistSource::GetCurrentPosition
Declaration: Sub
GetCurrentPosition(Index As Long, Position As Double, TotalPosition
As Double)
Returns the current position within the media stream.
Parameter:
|
|
Index |
Index of the current played
paylits item. |
|
|
Position |
Played time of the current
playled playlist item in seconds. |
|
|
TotalPosition |
Played time of the whole
playlist in seconds. |
C Prototype:
HRESULT GetCurrentPosition(LONG Index,
DOUBLE Position, DOUBLE TotalPosition);
Method IMVPlaylistSource::PlayItem
Declaration: Sub
PlayItem(Index As Long)
Play the playlist from the given item.
Parameter:
|
|
Index |
Index of the playlist
item. |
C Prototype:
HRESULT PlayItem(LONG Index);
Property
IMVPlaylistSource::SeekingAvailable
Declaration:
Property Get SeekingAvailable As Boolean
Is media seeking available.
C Prototype:
HRESULT
get_SeekingAvailable(VARIANT_BOOL *pVal);
|