Uses of Class
com.peterphi.std.types.ResamplingException
-
Uses of ResamplingException in com.peterphi.std.types
Modifier and TypeMethodDescriptionSampleCount.addPrecise
(SampleCount that) Timecode.addPrecise
(SampleCount samples) Add some samples to this timecode, throwing an exception if precision would be lostTimecode.getSampleCountPrecise
(Timecode from) Returns a sample count as an offset from the provided timecode
The resulting timecode will be expressed in the same timebase asthis
objectlong
SampleCount.getSamplesPrecise
(Timebase newRate) Returns the number of samples represented by this SampleCount, converted tonewRate
.long
Convert a sample count from one timebase to another
Note that this may result in data loss due to rounding.long
Timebase.resamplePrecise
(long samples, Timebase oldRate) Convert a sample count from one timebase to another, throwing an exception if precision is lostTimecode.resamplePrecise
(Timebase toRate) ResamplesSampleCount.subtractPrecise
(SampleCount that)