Ken Cooke
ce7571dcc1
Replace NEXTPOW2() macros with constexpr (supported since VS2015)
2019-06-18 10:29:23 -07:00
Ken Cooke
fa4dfffd8e
Update reverb SIMD to avoid benign UBSan warnings due to unaligned load/store
2019-06-18 09:53:54 -07:00
Ken Cooke
11b599f8f9
Update SIMD resampler to avoid benign UBSan warnings due to unaligned load/store
2019-06-18 09:34:55 -07:00
Ken Cooke
dfab91e50a
Reduce the performance impact of loopback resampler (AVX2 optimizations)
2019-06-01 19:53:18 -07:00
Ken Cooke
ba3282e12b
Fix rounding error in allOrNothing mode
2019-05-23 08:03:59 -07:00
Ken Cooke
0d0a9fbd09
Never return more than maxSamples from the audio ringbuffer
2019-05-23 07:54:08 -07:00
Roxanne Skelly
7a4e3557b0
Use TryLocker instead of explicitly using tryLock on mutexes
2019-05-09 15:21:43 -07:00
Roxanne Skelly
3a4241b290
Unnecessary spacing changes.
2019-05-08 22:16:18 -07:00
Roxanne Skelly
dc7ec35544
BUGZ-85 - handle thread safety issues with calling the decoder from the
...
real-time thread.
2019-05-08 22:16:10 -07:00
Roxanne Skelly
4a4a92c009
BUGZ-85 - audio pipeline interpolation on ring buffer starve
...
Kick the PLC so that it generates a more pleasing 'fade' frame
when ring buffer starves.
2019-05-08 22:16:05 -07:00
David Rowe
7dde764907
Merge branch 'master' into M21956
...
# Conflicts:
# libraries/audio/src/Sound.h
2019-04-23 14:58:23 +12:00
David Rowe
fbc8e1c347
Miscellaneous fixes
2019-04-23 14:49:14 +12:00
David Rowe
6e09c4885f
Review updates
2019-04-23 14:35:25 +12:00
Sam Gateau
6f4f7335dc
Merge pull request #15307 from kencooke/audio-gain-interpolation
...
Case 22019: Audio clicks/pops when gain is rapidly changing
2019-04-10 12:26:59 -07:00
Shannon Romano
1b72a514d3
Merge pull request #15328 from Atlante45/fix/injectors
...
Case 21925: Warn mixer about stopped injectors
2019-04-05 16:09:41 -07:00
David Rowe
68f76851fd
Updates per doc review
2019-04-05 17:10:52 +13:00
Clement
5102702910
Warn mixer about stopped injectors
2019-04-04 18:55:35 -07:00
Ken Cooke
181a4e9bdc
Disable parameter interpolation from reset state
...
Restores original behavior of constant-volume streams (no initial fade-in)
2019-03-31 11:32:29 -07:00
Ken Cooke
423da7d737
Add direct mix (non-spatialized) audio renderers with gain crossfade
2019-03-30 16:39:35 -07:00
Ken Cooke
ebc73bebc5
Ambisonic renderer using 4x4 rotate/scale matrix to implement gain crossfade
2019-03-30 15:39:33 -07:00
David Rowe
9a1bb27034
AnimationCache, ModelCache, SoundCache, and TextureCache JSDoc
2019-03-26 13:58:43 +13:00
SamGondelman
300dd39abf
fix script engine shutdown
2019-03-13 12:23:31 -07:00
Sam Gondelman
f013b9af2b
fix warnings
2019-03-13 00:24:19 -07:00
SamGondelman
609c4ab52e
try to fix audio injector threading issues
2019-03-12 18:41:43 -07:00
Seth Alves
d5e8cba1ee
make server-audio-loopback button work in HMDs
2019-03-04 13:47:55 -08:00
SamGondelman
dd0d7f0118
merge with master
2019-02-14 09:57:13 -08:00
Andrew Meadows
efe2767f3f
Merge pull request #14913 from SamGondelman/pal
...
Case 21147, Case 20944: Fix setTextures (pal, etc.)
2019-02-13 17:50:08 -08:00
SamGondelman
13ece79476
merge with master
2019-02-13 16:30:22 -08:00
SamGondelman
9e002c59d4
fix pal
2019-02-13 15:24:55 -08:00
Shannon Romano
8a07e2b31a
Merge pull request #14895 from ctrlaltdavid/M21132
...
Case 21132: Add "Avatar Script" classification to relevant JSDoc APIs
2019-02-13 10:35:00 -08:00
SamGondelman
189ccfde4a
clement's comments from PR14858
2019-02-12 09:51:11 -08:00
SamGondelman
77a8ddb3f0
Merge remote-tracking branch 'upstream/master' into materialMapping
2019-02-11 16:35:05 -08:00
SamGondelman
4202685a4b
Merge remote-tracking branch 'upstream/master' into fst
2019-02-11 16:07:36 -08:00
David Rowe
5428bb19dc
Add "Avatar Script" JSDoc API classification
2019-02-12 11:49:49 +13:00
SamGondelman
3ee448a89a
fix scattering and working on resource cache bug
2019-02-05 17:32:15 -08:00
Ken Cooke
cfaa841746
Add output silence-detection to the noise gate processing
2019-02-05 12:34:42 -08:00
Antonina Savinova
5d49a3f6df
Merge pull request #14732 from kencooke/audio-distattn-improvements
...
Bug fixes and improvements to audio distance attenuation
2019-01-29 14:02:29 -08:00
Shannon Romano
72d3eb9d33
Merge pull request #14797 from kencooke/audio-injector-stereo-distattn-bugfix2
...
case 20805: RC78.1 to master: Fix the distance attenuation of stereo local injectors
2019-01-29 13:12:51 -08:00
Ken Cooke
b0f8afa772
CR: don't expose "position" when not set
2019-01-29 11:21:17 -08:00
Ken Cooke
fa08e42da6
Restore legacy attenuation behavior for system sounds and scripts that do not set position.
...
JS detects when "position" was not set by the script.
C++ explicitly sets .positionSet=false when not set (for system sounds).
Local rendering uses a direct mix (no attenuation/HRTF) when not set.
2019-01-29 11:21:02 -08:00
Ken Cooke
b854840f43
Fix ASAN warnings due to mixed signed/unsigned arithmetic
2019-01-09 10:03:35 -08:00
Ken Cooke
83e1efd2f0
Improved reference distance = 2m
2019-01-03 15:12:42 -08:00
Ken Cooke
53dece5451
Clamp near-field distance attenuation to max gain
2019-01-03 14:50:44 -08:00
Ken Cooke
5148b60c73
Parameterize distance attenuation by reference distance (where gain = unity)
2019-01-03 14:43:15 -08:00
Ken Cooke
88d935a28e
Fix the audio injector "pitch" property
2018-11-29 08:12:14 -08:00
Ken Cooke
11252a8f56
Fix UBSAN warning (left-shift of negative integer) when peak limiter is called with implausibly large (or NaN) audio values
2018-11-28 16:48:34 -08:00
Atlante45
31033ad685
Update TTS audio API use
2018-11-14 15:42:39 -08:00
Clement
d2a1bb4806
CR
2018-11-14 14:46:08 -08:00
Clement
7192aed131
Rework audio data memory ownership model
2018-11-14 14:45:18 -08:00
Howard Stearns
545b85bc9d
Merge branch 'master' of github.com:highfidelity/hifi into no-url-logging
2018-11-13 09:55:54 -08:00