Mercurial > hg > beaglert
comparison include/client.h @ 54:d3f869b98147 ultra-staging
Udp transmission working (enough) for demo in Nottingham
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Mon, 08 Jun 2015 01:07:48 +0100 |
parents | 4255ecbb9bec |
children |
comparison
equal
deleted
inserted
replaced
53:6907e2177eb8 | 54:d3f869b98147 |
---|---|
19 int timestamp; | 19 int timestamp; |
20 int currentBuffer; | 20 int currentBuffer; |
21 int index; | 21 int index; |
22 float buffers[2][NETWORK_AUDIO_BUFFER_SIZE]; | 22 float buffers[2][NETWORK_AUDIO_BUFFER_SIZE]; |
23 int doneOnTime; | 23 int doneOnTime; |
24 bool toBeSent; | |
25 UdpClient udpClient; | |
24 }; | 26 }; |
25 | 27 |
26 void error(const char *); | 28 void error(const char *); |
27 int setupSockets(int receivePort, int transmitPort, char const*serverName); | 29 int setupSockets(int receivePort, int transmitPort, char const*serverName); |
28 int sendMessage(networkData message); | 30 int sendMessage(networkData message); |