HostTime
Discussion
This collection of functions provides access to the host's time base. It also provides
discriptive information about the time base and translations to and from nanoseconds.
Functions
Convert the given host time into a time in nanoseconds.
extern UInt64 AudioConvertHostTimeToNanos (
UInt64 inHostTime
) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER;
Parameter Descriptions
- inHostTime
- A UInt64 containing the host time to convert.
- function result
- A UInt64 containining the converted host time.
Convert the given nanosecond time into a host time.
extern UInt64 AudioConvertNanosToHostTime (
UInt64 inNanos
) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER;
Parameter Descriptions
- inNanos
- A UInt64 containing the nanosecond time to convert.
- function result
- A UInt64 containining the converted nanosecond time.
Gets the current host time.
extern UInt64 AudioGetCurrentHostTime (void) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER;
- function result
- A UInt64 containing the current host time.
Gets the number of ticks per second in the host time base.
extern Float64 AudioGetHostClockFrequency (void) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER;
- function result
- A Float64 containing the number of ticks per second in the host time base.
Gets the smallest number of ticks that two succeeding values will ever differ.
by.
extern UInt32 AudioGetHostClockMinimumTimeDelta (void) AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER;
- function result
- A UInt32 containing the smallest number of ticks that two succeeding values will
ever differ.
(Last Updated 12/13/2004)