#import <Foundation/Foundation.h>
#import <AudioToolbox/AudioToolbox.h>
Go to the source code of this file.
Typedefs | |
typedef uint64_t | AEHostTicks |
typedef double | AESeconds |
Functions | |
void | AETimeInit () |
Initialize. | |
AEHostTicks | AECurrentTimeInHostTicks (void) |
Get current global timestamp, in host ticks. | |
AESeconds | AECurrentTimeInSeconds (void) |
Get current global timestamp, in seconds. | |
AEHostTicks | AEHostTicksFromSeconds (AESeconds seconds) |
Convert time in seconds to host ticks. | |
AESeconds | AESecondsFromHostTicks (AEHostTicks ticks) |
Convert time in host ticks to seconds. | |
AudioTimeStamp | AETimeStampWithHostTicks (AEHostTicks ticks) |
Create an AudioTimeStamps with a host ticks value. | |
AudioTimeStamp | AETimeStampWithSamples (Float64 samples) |
Create an AudioTimeStamps with a sample time value. | |
Variables | |
const AudioTimeStamp | AETimeStampNone |
An empty timestamp. | |
typedef uint64_t AEHostTicks |
typedef double AESeconds |
void AETimeInit | ( | ) |
Initialize.
AEHostTicks AECurrentTimeInHostTicks | ( | void | ) |
Get current global timestamp, in host ticks.
AESeconds AECurrentTimeInSeconds | ( | void | ) |
Get current global timestamp, in seconds.
AEHostTicks AEHostTicksFromSeconds | ( | AESeconds | seconds | ) |
Convert time in seconds to host ticks.
seconds | The time in seconds |
AESeconds AESecondsFromHostTicks | ( | AEHostTicks | ticks | ) |
Convert time in host ticks to seconds.
ticks | The time in host ticks |
AudioTimeStamp AETimeStampWithHostTicks | ( | AEHostTicks | ticks | ) |
Create an AudioTimeStamps with a host ticks value.
If a zero value is provided, then AETimeStampNone will be returned.
ticks | The time in host ticks |
AudioTimeStamp AETimeStampWithSamples | ( | Float64 | samples | ) |
Create an AudioTimeStamps with a sample time value.
samples | The time in samples |
const AudioTimeStamp AETimeStampNone |
An empty timestamp.