Package org.robovm.apple.avfoundation
Class AVAudioTime
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.avfoundation.AVAudioTime
- All Implemented Interfaces:
NSObjectProtocol,ObjCProtocol
public class AVAudioTime extends NSObject
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAVAudioTime.AVAudioTimePtrNested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description AVAudioTime()AVAudioTime(long hostTime)AVAudioTime(long sampleTime, double sampleRate)AVAudioTime(long hostTime, long sampleTime, double sampleRate)AVAudioTime(AudioTimeStamp ts, double sampleRate)protectedAVAudioTime(NSObject.Handle h, long handle)protectedAVAudioTime(NSObject.SkipInit skipInit) -
Method Summary
Modifier and Type Method Description static doubleconvertHostTimeToSeconds(long hostTime)static longconvertSecondsToHostTime(double seconds)AVAudioTimeextrapolateTimeFromAnchor(AVAudioTime anchorTime)AudioTimeStampgetAudioTimeStamp()longgetHostTime()doublegetSampleRate()longgetSampleTime()protected longinit(long hostTime)protected longinit(long sampleTime, double sampleRate)protected longinit(long hostTime, long sampleTime, double sampleRate)protected longinit(AudioTimeStamp ts, double sampleRate)booleanisHostTimeValid()booleanisSampleTimeValid()Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRef
-
Constructor Details
-
AVAudioTime
public AVAudioTime() -
AVAudioTime
-
AVAudioTime
-
AVAudioTime
-
AVAudioTime
public AVAudioTime(long hostTime) -
AVAudioTime
public AVAudioTime(long sampleTime, double sampleRate) -
AVAudioTime
public AVAudioTime(long hostTime, long sampleTime, double sampleRate)
-
-
Method Details
-
isHostTimeValid
public boolean isHostTimeValid() -
getHostTime
public long getHostTime() -
isSampleTimeValid
public boolean isSampleTimeValid() -
getSampleTime
public long getSampleTime() -
getSampleRate
public double getSampleRate() -
getAudioTimeStamp
-
init
-
init
protected long init(long hostTime) -
init
protected long init(long sampleTime, double sampleRate) -
init
protected long init(long hostTime, long sampleTime, double sampleRate) -
extrapolateTimeFromAnchor
-
convertSecondsToHostTime
public static long convertSecondsToHostTime(double seconds) -
convertHostTimeToSeconds
public static double convertHostTimeToSeconds(long hostTime)
-