Fix erroneous getStreamTime() results in some cases.
[rtaudio-cdist.git] / RtAudio.h
index 11345cc6d8a72f2ea35f6d5abf44c02e266d150a..78fca0c779700bc34d83bba2c23fdcc2e72274ae 100644 (file)
--- a/RtAudio.h
+++ b/RtAudio.h
@@ -756,6 +756,9 @@ protected:
     double streamTime;         // Number of elapsed seconds since the stream started.
 
 #if defined(HAVE_GETTIMEOFDAY)
+    // The gettimeofday() when tickStreamTime was last called, or both
+    // fields at 0 if tickStreamTime has not been called since the last
+    // startStream().
     struct timeval lastTickTimestamp;
 #endif