Brad Davis
|
6f5f6450df
|
Cleanup CMake files
|
2015-10-11 00:01:03 -07:00 |
|
Ken Cooke
|
3555e90cf6
|
Improved random generator for SIMD dither
|
2015-10-01 20:32:48 -07:00 |
|
Ken Cooke
|
e1e34b2ce5
|
Fix to allow arbitrary input/output buffers from caller. SIMD padding is no longer required.
|
2015-10-01 20:17:04 -07:00 |
|
Ken Cooke
|
4e29d8382d
|
SSE2 optimization of new resampler. 3.5x faster for all modes. Dither is always enabled.
|
2015-10-01 03:24:10 -07:00 |
|
Ken Cooke
|
aa01dca0a8
|
Fix compiler warnings
|
2015-09-27 19:14:31 -07:00 |
|
Ken Cooke
|
7faada24a8
|
Moved table to the top, so it can be declared static
|
2015-09-27 15:45:00 -07:00 |
|
Ken Cooke
|
c000c635b1
|
CR feedback
|
2015-09-27 15:31:11 -07:00 |
|
Ken Cooke
|
956d83c872
|
Size optimization of new resampler. Reduced size of precomputed tables by 8x. Even with 32x oversampling of the prototype filter, aliasing from Lagrange interpolation is (12+24/octave) = -132dB which is fine.
|
2015-09-25 21:28:48 -07:00 |
|
Ken Cooke
|
4a1458e152
|
Algorithmic optimization of new resampler. All common sample rates now use a rational mode that does direct FIR filtering instead of coefficient interpolation. Complexity reduced by 2x for mono, 1.5x for stereo.
|
2015-09-25 19:05:55 -07:00 |
|
Brad Hefta-Gaub
|
8a8da58dfd
|
Merge pull request #5898 from kencooke/audio-src
Completely remove SOXR from cmake
|
2015-09-24 15:59:23 -07:00 |
|
Ken Cooke
|
629ee7b0c1
|
Completely remove SOXR from cmake
|
2015-09-24 15:12:10 -07:00 |
|
Brad Hefta-Gaub
|
5e82b9c433
|
more warning fixes
|
2015-09-24 08:26:56 -07:00 |
|
Ken Cooke
|
478eab3843
|
CR feedback
|
2015-09-23 12:07:17 -07:00 |
|
Ken Cooke
|
4b9c2ed6b6
|
In AudioInjector, replace SOXR with AudioSRC.
Used for pitch shifting in playSound(). Setup time (once per sound) is drastically improved.
|
2015-09-22 23:08:05 -07:00 |
|
Ken Cooke
|
b983ba7056
|
Fix Mac and Linux builds
|
2015-09-22 08:46:00 -07:00 |
|
Ken Cooke
|
2d1150115f
|
New low-latency sample rate conversion library
|
2015-09-22 08:14:08 -07:00 |
|
Philip Rosedale
|
b968911fcc
|
Merge pull request #5820 from kencooke/audio-fix
fix audio int16_t to float scaling
|
2015-09-16 10:26:36 -07:00 |
|
Ken Cooke
|
def24a15ad
|
fix audio int16_t to float scaling
|
2015-09-16 09:00:41 -07:00 |
|
Ken Cooke
|
ffe3fcf4ce
|
Replace repeated division with multiply by inverse
|
2015-09-15 10:18:53 -07:00 |
|
Ken Cooke
|
5045f8558e
|
Fix incorrect scale factor for converting int16_t to/from float
|
2015-09-15 10:08:24 -07:00 |
|
Stephen Birarda
|
ed19987b7d
|
resolve conflicts on merge with upstream/master
|
2015-09-04 12:31:46 -06:00 |
|
Howard Stearns
|
d003ec9c58
|
Delete collision sounds (and their threads) after use.
This has been broken ever since I added avatar collision sounds around https://github.com/highfidelity/hifi/pull/5159 or so.
|
2015-08-31 15:49:17 -07:00 |
|
Stephen Birarda
|
80cf7b6c76
|
resolve conflicts on merge with upstream/master
|
2015-08-27 14:50:04 -07:00 |
|
Ryan Huffman
|
aa7d8678e1
|
Merge branch 'protocol' of github.com:birarda/hifi into atp-server
|
2015-08-26 12:26:11 -07:00 |
|
Seth Alves
|
695ffa29c7
|
call setup_memory_debugger from common macros rather than from every CMakeLists.txt file
|
2015-08-26 11:09:59 -07:00 |
|
Atlante45
|
179ee73e26
|
Merge branch 'master' of https://github.com/highfidelity/hifi into update_protocol
|
2015-08-26 16:50:33 +02:00 |
|
Brad Davis
|
d311e4f2ea
|
Fixing problems reported by static analysis tool
|
2015-08-25 19:18:55 -07:00 |
|
Brad Davis
|
380b0cb23c
|
Removing tabs from our javascript and C++
|
2015-08-24 15:26:46 -07:00 |
|
Brad Davis
|
8c7711168c
|
Merge pull request #5603 from sethalves/linux-memory-debugger
memory debugging on linux
|
2015-08-20 19:19:24 -07:00 |
|
Stephen Birarda
|
e93b360908
|
expose options property to AI script interface
|
2015-08-20 12:12:43 -07:00 |
|
Seth Alves
|
c25082d86f
|
use -fsanitize=address in all code rather than just the top-level links
|
2015-08-20 10:14:16 -07:00 |
|
Stephen Birarda
|
6860f3d126
|
add readWithoutCopy for clarity in Packet read
|
2015-08-19 14:32:26 -07:00 |
|
Ryan Huffman
|
5884fcb17b
|
Merge branch 'ordered-sending' into atp-server
|
2015-08-19 12:23:31 -07:00 |
|
Ryan Huffman
|
4827d326f4
|
Update ResourceCache to allow multiple downloads on the same resource
|
2015-08-19 12:11:47 -07:00 |
|
Ryan Huffman
|
ae93d74d8b
|
Update Sound to use new ResourceCache
|
2015-08-03 16:27:34 -07:00 |
|
Stephen Birarda
|
9e7fb9ae16
|
shuffle Packet headers, use static enum for PacketType
|
2015-07-23 13:56:47 -07:00 |
|
Stephen Birarda
|
0177513285
|
resolve conflicts on merge with upstream/master
|
2015-07-20 12:29:38 -07:00 |
|
Stephen Birarda
|
1fd4a1f0c3
|
resolve conflicts on merge with upstream master
|
2015-07-17 16:07:45 -07:00 |
|
Stephen Birarda
|
331bb54144
|
remove unused variable
|
2015-07-17 15:59:39 -07:00 |
|
Stephen Birarda
|
39272652e5
|
fix seeks in InboundAudioStream
|
2015-07-17 15:59:24 -07:00 |
|
Stephen Birarda
|
0f534b9f7b
|
fixes for new read and NLPacketList
|
2015-07-17 15:43:20 -07:00 |
|
Howard Stearns
|
2d277a2abd
|
Fix https://app.asana.com/0/30233891560551/41734486809354/f
|
2015-07-17 11:28:25 -07:00 |
|
Stephen Birarda
|
e5722098f6
|
resolve conflicts on merge with upstream/master
|
2015-07-17 11:06:01 -07:00 |
|
Stephen Birarda
|
a6641908fb
|
check if audio mixer is alive before packet send
|
2015-07-16 15:49:15 -07:00 |
|
Stephen Birarda
|
c5047ec76d
|
fix sequence number packing for audio injector
|
2015-07-16 15:47:25 -07:00 |
|
Stephen Birarda
|
333cd77d9c
|
cleanup call to parseAudioData
|
2015-07-15 17:20:02 -07:00 |
|
Stephen Birarda
|
9318f464a4
|
fix position of read in InboundAudioStream
|
2015-07-15 16:42:58 -07:00 |
|
Stephen Birarda
|
273e92f1fd
|
pass correct size for audio read
|
2015-07-15 16:34:00 -07:00 |
|
Stephen Birarda
|
05dde9d8f5
|
resolve conflicts on merge with upstream/master
|
2015-07-15 16:18:47 -07:00 |
|
Stephen Birarda
|
52fdce4a44
|
fix fromRawData call for silent audio packet
|
2015-07-15 15:41:45 -07:00 |
|
Stephen Birarda
|
e127c5c06d
|
rename Packet methods for clarity
|
2015-07-15 10:40:40 -07:00 |
|
Atlante45
|
fbb6a94579
|
Merge branch 'receive_packets' of https://github.com/huffman/hifi into protocol
|
2015-07-14 16:36:28 -07:00 |
|
Stephen Birarda
|
fbd287472d
|
make NodeData parseData take only packet
|
2015-07-14 14:09:00 -07:00 |
|
Atlante45
|
c80df94b06
|
Update includes for moved files
|
2015-07-13 15:28:55 -07:00 |
|
Stephen Birarda
|
ede39515d8
|
update parseData for new network API
|
2015-07-13 14:26:10 -07:00 |
|
Atlante45
|
957e6394a9
|
sendPacket function take Node& not a pointer
|
2015-07-13 11:57:20 -07:00 |
|
Atlante45
|
6c591131ba
|
Made Animations safe for resource reload
|
2015-07-10 12:01:51 -07:00 |
|
Stephen Birarda
|
a363f42bb2
|
pass const NLPacket& for all sendUnreliablePacket calls
|
2015-07-09 11:42:18 -07:00 |
|
Stephen Birarda
|
f3eb6982e6
|
fix writing to packet in AudioInjector
|
2015-07-08 16:39:24 -07:00 |
|
Atlante45
|
7329ad6334
|
Templated read/write in Packet
|
2015-07-08 13:45:12 -07:00 |
|
Atlante45
|
6bf05fbf1f
|
Pointer fixes
|
2015-07-08 10:50:51 -07:00 |
|
Atlante45
|
7713219718
|
Compile fixes
|
2015-07-08 10:40:35 -07:00 |
|
Stephen Birarda
|
74940a2132
|
replace lingering PacketTypes in old format
|
2015-07-08 10:18:13 -07:00 |
|
Stephen Birarda
|
eac3a2a640
|
packet repairs for AudioInjector
|
2015-07-07 15:50:32 -07:00 |
|
Stephen Birarda
|
ffa6edc904
|
fix spaces created by xcode find/replace
|
2015-07-07 15:01:19 -07:00 |
|
Stephen Birarda
|
e1c098233a
|
use sendUnreliablePacket for repeated send in AI
|
2015-07-06 18:03:41 -07:00 |
|
Stephen Birarda
|
b3c3e5a6c8
|
more PacketType to PacketType::Value replacements
|
2015-07-02 16:49:19 -07:00 |
|
Stephen Birarda
|
0d64e82fe2
|
replace PacketType declarations with PacketType::Value
|
2015-07-02 16:38:52 -07:00 |
|
Howard Stearns
|
3b8a46b87d
|
Allow scripted audio injectors to have options set.
|
2015-06-23 21:01:34 -07:00 |
|
Howard Stearns
|
b506fe0f1d
|
Merge branch 'master' of https://github.com/highfidelity/hifi into refactor-playSound
|
2015-06-19 14:22:04 -07:00 |
|
Howard Stearns
|
dc10e15e96
|
Put the common stuff on AudioInjector rather than AudioClient, so that assignment-client (which depends on script-engine) does not need to depend on audio-client.
|
2015-06-19 14:20:00 -07:00 |
|
Seth Alves
|
b258aeaa3d
|
merge from master
|
2015-06-18 10:04:14 -07:00 |
|
Howard Stearns
|
b4dfaba55e
|
Incorporate ctrlaltdavid's changes.
|
2015-06-17 11:59:15 -07:00 |
|
Seth Alves
|
508ae276c6
|
enable -Wdouble-promotion
|
2015-06-16 18:23:10 -07:00 |
|
Howard Stearns
|
6d99d50f72
|
Don't clip local audio sounds (https://app.asana.com/0/32622044445063/37633564937422)
and quiet some warnings (of https://app.asana.com/0/32622044445063/37620738098871).
|
2015-06-16 10:51:42 -07:00 |
|
Howard Stearns
|
8e41c58fad
|
Merge branch 'master' of https://github.com/highfidelity/hifi into restartable-non-local-sound
|
2015-06-08 15:45:30 -07:00 |
|
Howard Stearns
|
564b0b48ef
|
Alternate version that uses signal rather than polling.
|
2015-06-08 14:29:43 -07:00 |
|
Stephen Birarda
|
666830c04d
|
add a sound once first AM packet received
|
2015-06-08 11:30:12 -07:00 |
|
Howard Stearns
|
6668de56cd
|
Fix AudioInjector::restart() for the non-local case.
|
2015-06-08 10:34:56 -07:00 |
|
Stephen Birarda
|
6b3cf1ba4a
|
remove dependency of PacketHeaders on NodeList
|
2015-05-05 12:19:42 -07:00 |
|
Stephen Birarda
|
6cff75f7c1
|
resolve conflicts on merge with upstream/master
|
2015-05-04 10:05:44 -07:00 |
|
Atlante45
|
1dcc2f7988
|
Fix local injector modifying system volume
|
2015-05-04 15:53:58 +02:00 |
|
Stephen Birarda
|
b9c9ff6a14
|
clean up various warnings
|
2015-05-01 16:49:13 -07:00 |
|
Stephen Birarda
|
841da65eaf
|
fix abs value call warning
|
2015-05-01 16:34:34 -07:00 |
|
Stephen Birarda
|
94739cf8d3
|
move number constants out of SharedUtil to NumericalConstants
|
2015-05-01 10:26:53 -07:00 |
|
David Rowe
|
9576ad19a7
|
Move "Stereo Audio" option into developerMenu.js
And rename it "Stereo Input" to better relect what it does.
|
2015-04-28 14:14:10 -07:00 |
|
Seth Alves
|
0fb1a83e3b
|
quiet compiler, remove some trailing control-Ms
|
2015-04-25 09:20:00 -07:00 |
|
Atlante45
|
8f8e4d8dc6
|
Add generated audio methods to audio interface
|
2015-04-15 15:49:11 +02:00 |
|
Seth Alves
|
ef5dffecf6
|
fix filenames in comments
|
2015-04-07 10:03:14 -07:00 |
|
Seth Alves
|
9014397167
|
try again without macro
|
2015-04-07 09:59:04 -07:00 |
|
Seth Alves
|
7af32bd67a
|
put audio and script-engine logging into their own QLoggingCategory
|
2015-04-06 15:57:18 -07:00 |
|
Stephen Birarda
|
3f079e10aa
|
user AudioConstants for size of int16_t
|
2015-04-02 11:35:23 -07:00 |
|
Stephen Birarda
|
41290dd3e3
|
push data pointer for recursive read from front
|
2015-04-02 11:34:39 -07:00 |
|
Stephen Birarda
|
164c06a190
|
fix resampled stereo audio array size
|
2015-04-02 10:41:52 -07:00 |
|
Seth Alves
|
4bf86bb824
|
another [] needed after delete
|
2015-03-29 17:59:57 -07:00 |
|
Seth Alves
|
78b46cff2b
|
quiet compiler
|
2015-03-28 17:11:36 -07:00 |
|
Seth Alves
|
faa3ed6c29
|
valgrind wants []
|
2015-03-28 17:11:23 -07:00 |
|
Stephen Birarda
|
8ede9fb39b
|
fix stereo to stereo resampling
|
2015-03-10 15:50:30 -07:00 |
|
Stephen Birarda
|
271a4e2cae
|
cleanup some divides for manual sound resampling
|
2015-03-10 13:04:35 -07:00 |
|
Stephen Birarda
|
dc0ad09953
|
fix for check of num source samples
|
2015-03-10 13:04:34 -07:00 |
|