Commit graph

45 commits

Author SHA1 Message Date
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
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
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
Stephen Birarda
1e4213b676 fix UDPSocket pointer to pointer, use in domain 2013-02-14 18:34:24 -08:00
Stephen Birarda
da8fd5f4ee hook space server up to shared UDPSocket class 2013-02-14 16:45:00 -08:00
Stephen Birarda
5196a1ba1b remove incorrect threaded agent processing, fix agent replacement 2013-02-13 17:52:10 -08:00
Stephen Birarda
4270cfe2b4 send client their own packet for solo mixer testing 2013-02-13 16:14:04 -08:00
Stephen Birarda
815783732c make UDPSocket non-blocking, thread receive of data in interface 2013-02-13 15:27:16 -08:00
Philip Rosedale
9ad121ea00 Now looking up IP address of domain server on startup. 2013-02-13 11:50:10 -08:00
Stephen Birarda
fb31765024 AudioRingBuffer is a shared class (between mixer and interface) 2013-02-13 10:47:10 -08:00
Stephen Birarda
fab10ada3e move shared UDPSocket class to shared dir for reuse in mixer 2013-02-12 17:31:53 -08:00