# HG changeset patch # User Giulio Moro # Date 1440021832 -3600 # Node ID 7dfae7b7ab1282f2046ec160b0ee3083c5741409 # Parent 3168919fdb073bd45c262ed17d891a7762226515 Removed unused member timestamp diff -r 3168919fdb07 -r 7dfae7b7ab12 core/NetworkSend.cpp --- a/core/NetworkSend.cpp Wed Aug 19 22:56:12 2015 +0100 +++ b/core/NetworkSend.cpp Wed Aug 19 23:03:52 2015 +0100 @@ -31,7 +31,6 @@ sampleCount = 0; channel.doneOnTime=true; channel.index=channel.headerLength; //leave space for the heading message (channel, timestamp) - channel.timestamp=0; channel.activeBuffer=0; channel.readyToBeSent=false; } diff -r 3168919fdb07 -r 7dfae7b7ab12 include/NetworkSend.h --- a/include/NetworkSend.h Wed Aug 19 22:56:12 2015 +0100 +++ b/include/NetworkSend.h Wed Aug 19 23:03:52 2015 +0100 @@ -11,11 +11,10 @@ #define NETWORK_AUDIO_BUFFER_SIZE 302 struct NetworkBuffer{ - int timestamp; int channelNumber; int activeBuffer; int index; - float buffers[2][NETWORK_AUDIO_BUFFER_SIZE]; + float buffers[2][NETWORK_AUDIO_BUFFER_SIZE]; bool doneOnTime; bool readyToBeSent; static const int headerLength=2;