Commit graph

45 commits

Author SHA1 Message Date
Stephen Birarda
a2f8d8ae25 break audio out of shared into its own library 2013-05-16 13:00:40 -07:00
Stephen Birarda
d78daf53e9 fix copy of Avatar object for use in Audio class 2013-05-15 17:28:27 -07:00
Stephen Birarda
fc5e42cf8b add threaded injection of audio via audio injector class 2013-05-15 16:10:59 -07:00
Stephen Birarda
48b57c92bd refactor Agent member variables 2013-05-15 14:12:21 -07:00
Stephen Birarda
182b0b4fa1 data sent to client from mixer must include packet header 2013-05-15 12:13:39 -07:00
Stephen Birarda
e83710e45e prepend audio packets from the mixer with a packet header 2013-05-15 12:00:04 -07:00
Stephen Birarda
ce34a8f3e0 add packet headers and agent types for audio clarity 2013-05-15 11:43:49 -07:00
Stephen Birarda
5a1d0606ce add some debugging to the mixer to track down bearing issue 2013-05-10 12:34:31 -07:00
Stephen Birarda
23f861f5e2 fixes per code review comments 2013-05-09 13:30:11 -07:00
Stephen Birarda
cd69297af2 some refactoring for member variables in AudioRingBuffer 2013-05-09 13:04:42 -07:00
Stephen Birarda
0a6adc7ed3 make the audio mixer socket non-blocking so it doesn't halt waiting for data 2013-05-09 12:46:59 -07:00
Stephen Birarda
812f877984 resolve conflicts on merge with upstream master 2013-05-09 12:37:39 -07:00
Stephen Birarda
5ce9b27789 Merge remote-tracking branch 'upstream/master' into mixer-crash 2013-05-09 12:37:04 -07:00
Stephen Birarda
9ef409b2ef perform send of audio buffer on main thread 2013-05-09 12:34:14 -07:00
birarda
b3fb5684b2 Merge pull request #260 from birarda/mixer-crash
more fixes for audio mixer crashing:
2013-05-09 12:06:24 -07:00
Stephen Birarda
42a50e9bab make sure that the AudioRingBuffer exists before trying to use it 2013-05-09 12:05:48 -07:00
Stephen Birarda
d9a5bba1d1 remove the unhelpful stack trace setup, using gdb on server for now 2013-05-09 11:21:16 -07:00
Stephen Birarda
9658c40dd6 change lastAgentId member variable to _lastAgentID 2013-05-07 17:17:47 -07:00
Stephen Birarda
70a6466a56 fix for bearingRelativeAngleToSource breaking spatialised audio 2013-05-07 17:02:41 -07:00
Stephen Birarda
37aee09968 fix order of angle calculations 2013-05-07 15:43:28 -07:00
Stephen Birarda
681044e3a6 add debugging output and value change for off-axis 2013-05-07 15:24:15 -07:00
Stephen Birarda
6bad72a18e spacing cleanup in audio-mixer main 2013-05-07 14:41:20 -07:00
Stephen Birarda
a87e0d7f7f variable fixes for audio-mixer loopback 2013-05-07 14:32:15 -07:00
Stephen Birarda
82cff262b1 for agent loopback perform no distance and angle calculations 2013-05-07 14:28:48 -07:00
Stephen Birarda
589e524090 remove debugging and a couple of lines 2013-05-07 12:04:59 -07:00
Stephen Birarda
8187724410 correct the angle of delivery 2013-05-06 17:30:37 -07:00
Stephen Birarda
04b223a020 add off axis attenuation to audio-mixer 2013-05-06 17:14:33 -07:00
Stephen Birarda
81fade33dc refactoring in audio mixer in preparation for off axis attenuation 2013-05-06 17:07:57 -07:00
Stephen Birarda
84a8e481ff include signal for signal handler in audio mixer 2013-05-06 15:38:28 -07:00
Stephen Birarda
c742c292b6 have the audio mixer output a stacktrace when it crashes 2013-05-06 15:29:21 -07:00
Stephen Birarda
cee73e4622 don't replay last buffer for silent agent 2013-05-01 10:57:59 -07:00
Stephen Birarda
14012ee44b remove the debugging to confirm that distance attenuation is working 2013-04-26 17:11:51 -07:00
Stephen Birarda
5442362b3a change DISTANCE_RATIO const in audio-mixer main 2013-04-26 17:01:54 -07:00
Stephen Birarda
7744685de4 debug of distance should be float and not integer 2013-04-26 12:01:47 -07:00
Stephen Birarda
e2cb1866ed add another line of debugging for audio mixer distance coeff 2013-04-26 11:59:26 -07:00
Stephen Birarda
57c39ceb99 add some debugging to audio mixer for distance attenuation 2013-04-26 11:53:10 -07:00
Stephen Birarda
f18942d016 fix otherAgent iterator in audio-mixer main 2013-04-26 10:50:19 -07:00
Stephen Birarda
edc908b1cd AgentList type squishes across project 2013-04-25 16:25:49 -07:00
Stephen Birarda
f7e83b2080 squish types in audio mixer, use -> notation for other avatars 2013-04-25 15:51:10 -07:00
Stephen Birarda
625a963918 prefer -> notation to (*TYPE) for AgentList iterator 2013-04-25 15:49:25 -07:00
Stephen Birarda
ef6593eb89 update audio-mixer to use new AgentList iterator 2013-04-25 15:21:56 -07:00
Stephen Birarda
5c091a51a6 change signature of parseData to use unsigned char*, include packet header always 2013-04-16 11:51:36 -07:00
Stephen Birarda
4702e6ade0 remove the unecessary trailing slash when setting root dir 2013-04-15 14:59:48 -07:00
Stephen Birarda
cc2f35ca89 pass a ROOT_DIR to LinkHifiLibrary 2013-04-12 15:59:16 -07:00
Stephen Birarda
7fb52c529e move mixer to audio-mixer, use SetupHifiProject macro 2013-04-12 13:17:10 -07:00