MediaSynchronizer Class
Namespace: Stride.Media
Assembly: Stride.dll
System.Object →
MediaSynchronizer
Derived from MediaSynchronizer:
public class MediaSynchronizer
|
Improve this Doc
View Source
Fields
public static readonly Logger Logger
Field Value
|
Improve this Doc
View Source
Properties
public TimeSpan CurrentPresentationTime { get; }
Property Value
Type |
Description |
System.TimeSpan |
|
public bool IsLooping { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
public PlayRange LoopRange { get; set; }
Property Value
public TimeSpan MediaDuration { get; }
Property Value
Type |
Description |
System.TimeSpan |
|
public PlayRange PlayRange { get; set; }
Property Value
public bool ReachedEndOfStream { get; }
Property Value
Type |
Description |
System.Boolean |
|
public float SpeedFactor { get; set; }
Property Value
Type |
Description |
System.Single |
|
public PlayState State { get; }
Property Value
|
Improve this Doc
View Source
Methods
public bool IsWaitingForSynchronization()
Returns
Type |
Description |
System.Boolean |
|
public void RegisterExtractor(IMediaExtractor extractor)
Parameters
public void RegisterPlayer(IMediaPlayer player)
Parameters
public void RegisterReader(IMediaReader reader)
Parameters
public void Seek(double timePercentage)
Parameters
Type |
Name |
Description |
System.Double |
timePercentage |
|
public void Seek(TimeSpan seekTime)
Parameters
Type |
Name |
Description |
System.TimeSpan |
seekTime |
|
public void Unregister<T>(List<T> list, T item)
Parameters
Type |
Name |
Description |
System.Collections.Generic.List<T> |
list |
|
T |
item |
|
Type Parameters
public void UnregisterExtractor(IMediaExtractor extractor)
Parameters
public void UnregisterReader(IMediaPlayer player)
Parameters
public void UnregisterReader(IMediaReader reader)
Parameters
public void Update(TimeSpan timeElapsed)
Parameters
Type |
Name |
Description |
System.TimeSpan |
timeElapsed |
|
Extension Methods