Commit graph

62 commits

Author SHA1 Message Date
Stephen Birarda
2c0565e358 prepend bitstream packets with a V 2013-03-15 14:33:45 -07:00
Stephen Birarda
970daa511d make bytesRequiredForCodeLength method visible in header 2013-03-15 14:33:21 -07:00
Stephen Birarda
e8ebaeb497 add OctalCode shared library for octal code operations 2013-03-15 12:27:22 -07:00
Stephen Birarda
3e36ba9265 use char when unsigned char is not explicitly required 2013-03-15 12:26:34 -07:00
Stephen Birarda
14b23fc053 store octal code with VoxelNode 2013-03-15 12:25:48 -07:00
Stephen Birarda
2f7767bc9b add helper method to SharedUtil to print bits in char 2013-03-15 12:25:13 -07:00
Stephen Birarda
763c09f562 add VoxelNode and VoxelTree classes for shared tree representation 2013-03-14 16:16:01 -07:00
Stephen Birarda
e97aba03a3 move StdDev to shared library 2013-03-12 10:09:07 -07:00
Philip Rosedale
5c1bd68580 Merge remote-tracking branch 'origin/master' 2013-03-08 16:00:17 -08:00
Philip Rosedale
f014fcd0ac transmitter tweaks 2013-03-08 15:58:49 -08:00
Stephen Birarda
7eb0875a0b include cstdlib for use of rand 2013-03-08 15:42:31 -08:00
Stephen Birarda
686404be2b add a voxel server 2013-03-08 14:32:06 -08:00
Stephen Birarda
2ebb43691d Revert "fix iostream include"
This reverts commit ff9eab04d9.
2013-03-04 12:27:03 -08:00
Stephen Birarda
ff9eab04d9 fix iostream include 2013-03-04 12:25:41 -08:00
Stephen Birarda
400cb238f2 calculate angle between agent and other sources to prep for phase delay 2013-02-28 17:50:17 -08:00
Stephen Birarda
a42fc47231 relink head to AudioRingBuffer, send source bearing 2013-02-28 15:58:57 -08:00
Stephen Birarda
29df6e6a3e send 256 samples per callback so mixer can reply with two channels 2013-02-28 12:21:38 -08:00
Stephen Birarda
31a164fd19 initial changing of volumne of source based on distance 2013-02-26 16:57:33 -08:00
Stephen Birarda
c123990d7a switch back to EC2 DS for sanity check 2013-02-26 13:59:33 -08:00
Stephen Birarda
1783ee5f85 send interface client position to audio mixer 2013-02-26 13:13:40 -08:00
Stephen Birarda
df1186660b add missing cstring include for memcpy 2013-02-26 10:28:47 -08:00
Stephen Birarda
abfd3a0168 refactor mixer to use AgentList, AudioRingBuffer as AgentData 2013-02-25 17:07:32 -08:00
Stephen Birarda
e2c3c253a8 fix birarda's stupid bug in timestamp creation 2013-02-25 15:19:53 -08:00
Stephen Birarda
d211eb6c84 use getters and setters for all member variables in AgentList and Agent 2013-02-25 12:51:52 -08:00
Stephen Birarda
4541a5fe78 AgentList returns agents vector and agentSocket by reference 2013-02-25 12:24:42 -08:00
Stephen Birarda
1317be2382 domain server only returns newest of types in SOLO_AGENT_TYPES_STRING 2013-02-25 11:52:38 -08:00
Stephen Birarda
6a16d6e3bb clean up agent killing/re-adding for interface and domain 2013-02-22 14:54:19 -08:00
Stephen Birarda
9c60ac9918 shared library should link pthreads on UNIX 2013-02-22 13:47:25 -08:00
Stephen Birarda
92f5c88ab7 have domain server remove dead agents from list 2013-02-22 13:43:29 -08:00
Stephen Birarda
5d2cba0b2a add silent agent removal to AgentList class 2013-02-22 13:38:33 -08:00
Stephen Birarda
345ec8b938 fix threaded socket joins so that socket has timeout on blocking receive 2013-02-22 13:37:57 -08:00
Stephen Birarda
f4a1c405fc remove useless cast, activeSocket is a sockaddr 2013-02-22 10:13:12 -08:00
Stephen Birarda
5d8ece7867 add a missing break in processAgentData switch case 2013-02-21 16:47:41 -08:00
Stephen Birarda
aa9f4f966e allow switchover to new audio mixer received from audio server 2013-02-21 15:43:52 -08:00
Stephen Birarda
1e00962fb7 fix crash on match to active socket, remove LD debug 2013-02-21 15:08:23 -08:00
Stephen Birarda
008223b847 include cstring for memcpy in Agent class 2013-02-21 14:55:43 -08:00
Stephen Birarda
9ec51116d5 fix unecessary copy of Agent, blow away linkedData to rebuild it 2013-02-21 14:36:53 -08:00
Stephen Birarda
47e2e6651a add AgentData.cpp with defined abstract destructor 2013-02-21 12:57:45 -08:00
Stephen Birarda
060f4dceca use AgentData class to abstract implemenation of linked data 2013-02-21 12:56:57 -08:00
Stephen Birarda
c57380012e hook domain server up to AgentList, pack sockets 2013-02-20 18:32:23 -08:00
Stephen Birarda
7205817476 remove AgentSocket abstraction to use sockaddr struct 2013-02-20 11:44:35 -08:00
Stephen Birarda
42927ec602 implement pingAgents method in AgentList 2013-02-19 17:46:49 -08:00
Stephen Birarda
9a514f56e5 have AgentList control the required UDPSocket instance 2013-02-19 17:34:34 -08:00
Stephen Birarda
00211ddc3d add an overloaded << operator to simplify address debugging 2013-02-19 17:08:32 -08:00
Stephen Birarda
bd02f48943 switch to copy-and-swap for AgentSocket and Agent 2013-02-19 16:59:14 -08:00
Stephen Birarda
9d5a800c6f begin abstraction of Agent communication to shared classes 2013-02-19 16:38:57 -08:00
Stephen Birarda
8c8309c1f4 add some comments to the CMakeLists files 2013-02-18 11:08:12 -08:00
Stephen Birarda
c3849fa8ca whoops, strerr is in string.h 2013-02-14 18:41:13 -08:00
Stephen Birarda
772d22ce0b use correct include for UDPSocket 2013-02-14 18:39:30 -08:00
Stephen Birarda
f39cbd0246 fix error reporting during UDPSocket send 2013-02-14 18:37:26 -08:00