Mercurial > hg > beaglert
comparison include/NetworkSend.h @ 113:7dfae7b7ab12 scope-refactoring
Removed unused member timestamp
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Wed, 19 Aug 2015 23:03:52 +0100 |
parents | 9928b6366227 |
children | 8341df5e404b |
comparison
equal
deleted
inserted
replaced
112:3168919fdb07 | 113:7dfae7b7ab12 |
---|---|
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #define NETWORK_AUDIO_BUFFER_SIZE 302 | 11 #define NETWORK_AUDIO_BUFFER_SIZE 302 |
12 | 12 |
13 struct NetworkBuffer{ | 13 struct NetworkBuffer{ |
14 int timestamp; | |
15 int channelNumber; | 14 int channelNumber; |
16 int activeBuffer; | 15 int activeBuffer; |
17 int index; | 16 int index; |
18 float buffers[2][NETWORK_AUDIO_BUFFER_SIZE]; | 17 float buffers[2][NETWORK_AUDIO_BUFFER_SIZE]; |
19 bool doneOnTime; | 18 bool doneOnTime; |
20 bool readyToBeSent; | 19 bool readyToBeSent; |
21 static const int headerLength=2; | 20 static const int headerLength=2; |
22 }; | 21 }; |
23 | 22 |