Open daveyostcom opened 6 months ago
Yes, seconds.
@daveyostcom Why do you say that the documentation does not indicate the units? It seems to be in the first sentence, from line 456 of portaudio.h. Which docs are you referencing?
/** The type used to represent monotonic time in seconds. PaTime is
used for the fields of the PaStreamCallbackTimeInfo argument to the
PaStreamCallback and as the result of Pa_GetStreamTime().
PaTime values have unspecified origin.
@see PaStreamCallback, PaStreamCallbackTimeInfo, Pa_GetStreamTime
*/
typedef double PaTime;
The source and the documentation should be clear that
PaTime
is in seconds (or it it milliseconds?).