Stephen Birarda
c7a28a527a
cleanup Agent recording handling, make loadRecording async
2017-04-04 10:56:25 -07:00
Zach Pomerantz
3b8c82491a
add AudioNoiseGate to Agent
2017-03-16 18:47:58 +00:00
Zach Pomerantz
e6fbdf8f06
add isNoiseGateEnabled to Agent
2017-03-15 00:15:49 +00:00
David Kelly
81451191c1
no need to get the ScriptableAvatar from DependencyManager every time
2017-03-01 18:06:03 -07:00
David Kelly
2635657456
zappoman's feedback, plus added const corrrectness to computeLoudness
2017-02-28 13:24:25 -07:00
David Kelly
6d7fab4053
Agent Avatars sending loudness in AvatarData
2017-02-21 16:59:08 -08:00
David Kelly
5714063eff
Make more reliable
...
Need to be sure we don't change the _isAvatar or
_isListeningToAudioStream from one thread while processing audio in
another. Also, fixed issue sending NLPacketList.
2016-10-31 16:38:01 -07:00
David Kelly
e3a22618d1
CR feedback
2016-10-27 17:49:43 -07:00
David Kelly
d00a73dde1
Play the flushed encoder sound at end
...
Basically 0-padding the end of the sound buffer. Next do that in
AudioMixer and we should be good.
2016-10-27 14:27:15 -07:00
David Kelly
30d8f1967c
Flushing encoder
...
Seems they have some state. So if you play a sound, then silence
that doesn't go through the encoder (SilentAudioFrame), then a
sound again, you will hear a click. Now, I just pop a frame of
0s through the encoder at the end of each .wav it plays. Poof!
2016-10-25 12:15:48 -07:00
David Kelly
c8850a8b8e
PR feedback
...
AgentAvatarTimer now in its own files. The thread still is created
the same way, and started only when you are an avatar, but now I
remember to stop it when you no longer are one. Audio is still at
100Hz, but avatar messages go at 60Hz as before. Unsure it matters,
but easy to do. Looking at that buzz now.
2016-10-12 12:44:24 -07:00
David Kelly
1fb7b42f0b
One more comment removed
2016-10-11 09:37:42 -07:00
David Kelly
ef844cbd00
Cleanup artifacts
...
Seems playAvatarSound could be called from a thread other than
the Agent's thread. So, artifacts happen when that pointer changes
while a 'tick' is happening. Also cleaned up code a bit, got rid
of some hard-coded stuff I had in just for dev purposes.
2016-10-11 09:33:55 -07:00
David Kelly
b58c36cb12
Rolling my own 100hz timer
...
Starting with the simplest possible thing - just sleep for 10000
microseconds. Can make it adaptive if need be.
2016-10-10 17:57:04 -07:00
David Kelly
b4c064a538
Hack in a 100hz timer
...
sounds crappy, more to do, just push to not lose anything.
<squash this>
2016-10-07 13:20:08 -07:00
David Kelly
95aa18f66d
Some cleanup
...
unnecessary stuff removed, added some cleanup code.
2016-10-06 16:18:22 -07:00
David Kelly
a0c731a0c6
Initial attempt
...
Kinda works, but sounds 'scratchy'. Surely I've done something
lame.
2016-10-06 14:57:40 -07:00
Seth Alves
87dbfa7e47
add -Wsuggest-override to compile flags and deal with fallout
2016-08-18 09:51:41 -07:00
Stephen Birarda
aa226739d3
remove billboard code from Agent
2016-05-12 16:41:44 -07:00
Stephen Birarda
bf3324fc6b
hold download of ATP script if Asset Server isn't ready
2016-04-08 15:28:12 -07:00
Stephen Birarda
1df0dce971
use ResourceRequest in Agent to handle ATP scripts
2016-04-08 14:38:26 -07:00
Atlante45
6d1b7f1d37
Wrap sound script object to hold a strong ref
2016-04-06 13:04:18 -07:00
Ryan Huffman
1b0413f8e3
Merge branch 'master' of https://github.com/highfidelity/hifi into proto-received-message
2015-11-30 10:23:40 -08:00
Andrew Meadows
49a6f63663
remove whitespace and fix warning (unused var)
2015-11-30 10:00:05 -08:00
Ryan Huffman
669d3c3523
Rename several ReceivedMessage params from packet to message
2015-11-24 11:29:02 -08:00
Ryan Huffman
dac491ef41
Merge branch 'master' of https://github.com/highfidelity/hifi into proto-received-message
2015-11-24 09:59:22 -08:00
Brad Hefta-Gaub
f56d2fba7f
allow playbackAgents to auto-register
2015-11-20 16:00:43 -08:00
Stephen Birarda
aa836aa4b5
add a script request timeout
2015-11-20 11:44:04 -08:00
Stephen Birarda
3b40119992
use Agent session UUID to request script
2015-11-20 11:35:24 -08:00
Ryan Huffman
07d21514c5
Merge branch 'master' of https://github.com/highfidelity/hifi into proto-received-message
2015-11-19 10:47:37 -08:00
samcake
74beeefe06
Merge pull request #6420 from jherico/dargo
...
Make recording and playback work in interface, playback in agent
2015-11-18 17:52:09 -08:00
Brad Davis
98cc7408b1
Fixing issues found in AC playback test
2015-11-18 17:17:20 -08:00
Ryan Huffman
2a416ebc61
Merge branch 'master' of https://github.com/highfidelity/hifi into received-message
2015-11-18 16:52:23 -08:00
Stephen Birarda
d90c073102
leverage NL keep alive pings in Agent
2015-11-18 10:25:18 -08:00
Ryan Huffman
7682ab00e3
Add ReceivedMessage and receive progress
2015-10-15 14:09:53 -07:00
Stephen Birarda
bca00db4a8
use unique_ptr for Agent ScriptEngine
2015-09-16 11:48:15 -07:00
Brad Hefta-Gaub
94b273a029
more work on script engine
2015-09-14 20:59:10 -07:00
Brad Hefta-Gaub
56118e4204
migrate Agent to use standard APIs of ScriptEngine
2015-09-11 22:12:42 -07:00
Brad Hefta-Gaub
54c56a92f1
move agent specific code out of ScriptEngine
2015-09-11 21:56:00 -07:00
Brad Hefta-Gaub
f85cb2c888
first cut at cleaning up ScriptEngine class
2015-09-11 19:12:09 -07:00
Thijs Wenker
7325e6a7b7
Send ping requests to the nodes (AvatarMixer, AudioMixer, EntityServer) that the Assignment agent connected with to keep the connections alive.
2015-07-29 14:57:06 +02:00
Stephen Birarda
fbd287472d
make NodeData parseData take only packet
2015-07-14 14:09:00 -07:00
Stephen Birarda
f06636d45e
repairs for other ThreadedAssignment subclasses
2015-07-13 15:16:55 -07:00
Ryan Huffman
cdbcaf0f7f
Fix AudioMixer compilation errors
2015-07-13 12:06:12 -07:00
Ryan Huffman
8c04aafe67
Update Agent to use PacketReceiver
2015-07-10 17:08:07 -07:00
Ryan Huffman
cc7bfd90f1
Move audio packet handling to listener in Agent
2015-07-10 16:27:42 -07:00
Atlante45
4fce5113dd
Use DM to access AvatarHashMap/Manager
2015-01-23 11:50:27 -08:00
ZappoMan
4ea9bbc309
first major pass at voxelEctomy
2014-12-30 18:08:58 -08:00
ZappoMan
e1d8022409
working on removing voxels
2014-12-30 14:11:31 -08:00
ZappoMan
4c85e9f581
removing particles
2014-10-13 14:10:57 -07:00