Mercurial > hg > beaglert
changeset 113:7dfae7b7ab12 scope-refactoring
Removed unused member timestamp
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Wed, 19 Aug 2015 23:03:52 +0100 |
parents | 3168919fdb07 |
children | 7b351b7d8770 |
files | core/NetworkSend.cpp include/NetworkSend.h |
diffstat | 2 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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; }
--- 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;