Uses of Class
com.avpkit.core.ITimeValue
-
Packages that use ITimeValue Package Description com.avpkit.core An advanced API for reading, decoding, re-sampling, encoding and writing of most media files. -
-
Uses of ITimeValue in com.avpkit.core
Methods in com.avpkit.core that return ITimeValue Modifier and Type Method Description ITimeValueITimeValue. copyReference()Deprecated.Create a new ITimeValue object that is actually referring to the exact same underlying native object.ITimeValueISimpleMediaFile. getDuration()Get the duration that we'll assume for the stream we're representing.ITimeValueSimpleMediaFile. getDuration()Get the duration that we'll assume for the stream we're representing.static ITimeValueITimeValue. make(long value, ITimeValue.Unit unit)Deprecated.Make a new time value.static ITimeValueITimeValue. make(ITimeValue src)Deprecated.Make a copy of a time value from another time value.static ITimeValueUtils. samplesToTimeValue(long numSamples, int sampleRate)For a given sample rate, returns how long it would take to play a number of samples.Methods in com.avpkit.core with parameters of type ITimeValue Modifier and Type Method Description static intITimeValue. compare(ITimeValue a, ITimeValue b)Deprecated.Convenience method that calls a.compareTo(b).intITimeValue. compareTo(ITimeValue other)Deprecated.Compare this timeValue to another.
This compareTo will compare the values, but will assume that the values
can never be more than half of int64_t's MAX_VALUE apart.static longITimeValue. getCPtr(ITimeValue obj)Deprecated.Internal Only.static intAVPKitJNI. ITimeValue_compare__SWIG_0(long jarg1, ITimeValue jarg1_, long jarg2, ITimeValue jarg2_)static intAVPKitJNI. ITimeValue_compareTo(long jarg1, ITimeValue jarg1_, long jarg2, ITimeValue jarg2_)static longAVPKitJNI. ITimeValue_get(long jarg1, ITimeValue jarg1_, int jarg2)static longAVPKitJNI. ITimeValue_make__SWIG_1(long jarg1, ITimeValue jarg1_)static ITimeValueITimeValue. make(ITimeValue src)Deprecated.Make a copy of a time value from another time value.voidISimpleMediaFile. setDuration(ITimeValue duration)Set the duration that we'll assume for the stream we're representing.voidSimpleMediaFile. setDuration(ITimeValue duration)Set the duration that we'll assume for the stream we're representing.static longUtils. timeValueToSamples(ITimeValue duration, int sampleRate)For a given time duration and sample rate, return the number of samples it would take to fill.
-