Converts Ticks/Frequency to Timespan.
Namespace: StreamCoders.Container.MP4Assembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
public static TimeSpan TimeSpanFromUint64(
ulong TimelineTicks,
uint Scale
)
Public Shared Function TimeSpanFromUint64 (
TimelineTicks As ULong,
Scale As UInteger
) As TimeSpan
public:
static TimeSpan TimeSpanFromUint64(
unsigned long long TimelineTicks,
unsigned int Scale
)
static member TimeSpanFromUint64 :
TimelineTicks : uint64 *
Scale : uint32 -> TimeSpan
Parameters
- TimelineTicks
- Type: SystemUInt64
Ticks.
- Scale
- Type: SystemUInt32
The scale to use.
Return Value
Type:
TimeSpan
New instance of TimeSpan.
Reference