diff core/NetworkSend.cpp @ 132:e24c531220ee scope-refactoring

Added some sort of synchronization, not working great though
author Giulio Moro <giuliomoro@yahoo.it>
date Thu, 27 Aug 2015 01:42:04 +0100
parents ff28e56e5b7e
children
line wrap: on
line diff
--- a/core/NetworkSend.cpp	Wed Aug 26 02:02:10 2015 +0100
+++ b/core/NetworkSend.cpp	Thu Aug 27 01:42:04 2015 +0100
@@ -194,6 +194,10 @@
 	return channel.channelNumber;
 };
 
+int NetworkSend::getTimestamp(){
+	return channel.buffers[channel.readBuffer][channel.headerTimestampIndex];
+}
+
 void NetworkSend::sendData(){
 	if(channel.enabled==false)
 		return;