diff options
Diffstat (limited to 'RtAudio.cpp')
| -rw-r--r-- | RtAudio.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/RtAudio.cpp b/RtAudio.cpp index 1611e09..5d49366 100644 --- a/RtAudio.cpp +++ b/RtAudio.cpp @@ -428,6 +428,9 @@ void RtApi :: setStreamTime( double time ) if ( time >= 0.0 )
stream_.streamTime = time;
+#if defined( HAVE_GETTIMEOFDAY )
+ gettimeofday( &stream_.lastTickTimestamp, NULL );
+#endif
}
unsigned int RtApi :: getStreamSampleRate( void )
|
