Ken Cooke
496724f0db
formatting cleanup
2018-08-04 20:15:04 -07:00
Ken Cooke
2121e201d5
fix assert when azimuth is negative subnormal
2018-08-04 20:09:27 -07:00
Sam Gondelman
7772e8adf2
Merge branch 'master' into scriptvec3
2018-08-03 14:57:49 -07:00
David Rowe
fdd6b7e07b
Delete erroneous merge file
2018-08-04 07:29:57 +12:00
David Rowe
2270255d88
JSDoc review
2018-08-04 07:22:12 +12:00
David Rowe
32e3bb0e1d
Merge branch 'master' into M08513-a
...
# Conflicts:
# libraries/audio/src/SoundCache.h
2018-08-03 10:29:32 +12:00
David Rowe
baf88ab508
Revise scriptable resource caches' interfaces
2018-07-26 16:12:16 +12:00
David Rowe
16e06de9cd
Move scriptable caches into scripting interfaces
...
Removed non-working getResource() API functions.
2018-07-25 22:10:14 +12:00
David Rowe
396382afd7
Fill in Audio API JSDoc
2018-07-19 09:31:48 +12:00
David Rowe
806228299e
Stub out Audio JSDoc
2018-07-15 10:31:48 +12:00
SamGondelman
9929529f30
vec3 conversion
2018-07-11 14:18:22 -07:00
Atlante45
4a4c0d132e
Make stereo interface async
2018-06-18 17:26:29 -07:00
Ken Cooke
15163d7125
CR: warnings use qCWarning() instead of qCDebug()
2018-06-14 09:44:58 -07:00
Ken Cooke
16eefe7f14
Ensure self-sufficient headers
2018-06-09 19:44:12 -07:00
Ken Cooke
c69b006eac
Fix compiler warnings
2018-06-08 06:29:30 -07:00
Ken Cooke
318c30373f
Fix compiler warnings
2018-06-07 15:45:46 -07:00
Ken Cooke
da63ad53f2
Fix compiler warnings
2018-06-07 14:49:05 -07:00
Ken Cooke
a9b3d93260
Fix compiler warnings
2018-06-07 08:37:48 -07:00
Ken Cooke
41f3d81443
Include boilerplate MIT License in comments
2018-06-07 08:21:31 -07:00
Ken Cooke
bc4d900f7d
Support MP3 files as sound assets
2018-06-07 06:57:06 -07:00
Ken Cooke
22ca20e33a
Add MP3 decoder
2018-06-07 06:54:51 -07:00
David Rowe
e44e7ca35f
Fix up Resource and resource cache APIs' JSDoc
2018-05-21 11:57:16 +12:00
David Rowe
cad5b3fb15
Expand AudioEffectOptions JSDoc stubs
2018-05-14 09:28:50 +12:00
David Rowe
6d000f3362
JSDoc parameter for AudioEffectOptions constructor
2018-05-12 11:41:42 +12:00
David Rowe
cf9053c873
Merge branch 'master' into 21872-b
2018-05-12 10:50:31 +12:00
David Rowe
fb175d7110
AudioEffectOptions API JSDoc stubs
2018-05-11 20:36:10 +12:00
Seth Alves
826c427e2a
trying to sort-out audio-stream logging
2018-05-10 15:42:59 -07:00
Clement
da9fb9c751
Fix non self-sufficient headers
2018-05-04 16:26:41 -07:00
MiladNazeri
6efb710222
Merge pull request #13076 from ctrlaltdavid/21856-g
...
JSDoc fixes
2018-05-03 14:06:23 -07:00
Ken Cooke
028ea11405
Merge pull request #13080 from kencooke/audio-asan-warnings
...
Fix asan warnings
2018-05-03 10:32:59 -07:00
David Rowe
e95c38d939
Merge branch 'master' into 21856-g
...
# Conflicts:
# libraries/model-networking/src/model-networking/TextureCache.h
2018-05-03 21:03:14 +12:00
MiladNazeri
8e214d8ee8
Merge pull request #13049 from ctrlaltdavid/21856-d
...
List which contexts each namespace and class is available in
2018-05-03 01:29:14 -07:00
Ken Cooke
3e77d946ea
Silence warnings of unused functions
2018-05-02 17:48:04 -07:00
Ken Cooke
3071b410bf
Remove obsolete 32-bit optimizations
2018-05-02 15:42:53 -07:00
Ken Cooke
5f394fb254
Remove workaround for VS2013 bug
2018-05-02 15:31:40 -07:00
Ken Cooke
e549f7b085
Fix VS2017 performance loss
2018-05-02 14:48:08 -07:00
Ken Cooke
05c534991e
Fix ASAN warnings
2018-05-02 09:39:42 -07:00
Oren Hurvitz
26ffb3213c
Changed "[[gnu::fallthrough]]" to "// FALLTHRU"
2018-05-02 07:06:47 +01:00
David Rowe
48632be3c2
Fix up cache APIs' JSDoc
2018-05-02 16:12:48 +12:00
David Rowe
1aa28b7f54
Merge remote-tracking branch 'upstream/master' into 21856-d
...
# Conflicts:
# interface/src/LODManager.h
2018-05-02 07:50:55 +12:00
Oren Hurvitz
a226790295
Eliminated warnings in gcc
...
Note that the call to encodeNode() in FBXWriter.cpp can never be reached, so it's safe to remove it.
2018-04-30 15:05:27 +03:00
David Rowe
2cc3ed6287
List which contexts each namespace and object is available in
2018-04-28 20:00:28 +12:00
Ken Cooke
1e25d48941
Merge pull request #13044 from roxanneskelly/roxie-arm64-fixes
...
Two fixes for arm64 on linux
2018-04-27 17:15:03 -07:00
Roxanne Skelly
ac8b3e4f5e
Two fixes for arm64 on linux
...
1) size_t is not defined by default in gcc, so stddef.h needed to be added
to AudioDynamics.h to handle some size_t usage.
2) gcc defaults char to unsigned, where windows defaults to signed. OctalCode.cpp
was assuming signed
2018-04-27 23:21:54 +00:00
David Rowe
08dc9b133f
Docs to JSDoc review
2018-04-26 21:10:28 +12:00
MiladNazeri
0f87e53902
Merge pull request #12963 from MiladNazeri/docs/DocsToJSDocsUpdate
...
Docs/docs to js docs update
2018-04-25 12:26:19 -07:00
milad nazeri
23d07fa292
fixed spacing issue
2018-04-24 13:14:55 -07:00
milad nazeri
1121fe8da0
fix tabs
2018-04-23 21:47:53 -07:00
milad nazeri
4ac06fe99f
Updating previous jsdocs
2018-04-22 22:22:33 -07:00
milad nazeri
e9b9c05b5d
removed cruft
2018-04-22 08:51:47 -07:00
Simon Walton
9f9a68188d
Merge remote-tracking branch 'upstream/master' into short-id
2018-04-20 11:10:21 -07:00
Simon Walton
93bcd1df20
Fix Linux build for std::call_once with lambda
...
MacOS & Ubuntu don't like the combination of std::call_once and
lambda w/ reference param, for some reason. Change to pointer
param.
2018-04-04 17:55:45 -07:00
Simon Walton
a370d287c3
Change AudioRingBuffer.cpp to use std::call_once
2018-04-04 16:42:10 -07:00
Simon Walton
ed3347a89b
Repeated logging - reviewer fixes
2018-04-04 14:11:10 -07:00
Simon Walton
692ccfc09b
Create HIFI_FCDEBUG(_ID) variants that require a category
...
Original macros use default settings.
2018-04-04 09:49:15 -07:00
Simon Walton
7d16ca9c1c
Remove uses of addRepeatedMessageRegex() and its implementation
...
Change to new log-message ID scheme.
2018-04-03 17:54:01 -07:00
Simon Walton
1b0b280f3a
Fix SequenceNumberStats, misc. clean-up
2018-03-29 10:47:11 -07:00
Simon Walton
d3464378b7
Short local source IDs - checkpoint
...
DS assigns 16-bit IDs as well as UUIDs; ACs track mappings;
nodes use short IDs in packets. Initial setup works; then
fails prob. due to DS UUID.
2018-03-27 13:46:58 -07:00
Ken Cooke
c06d28ee5f
Improved quality of the audio resampling filter kernel
2018-03-10 10:34:10 -08:00
Dante Ruiz
3a39fca268
made requested changes
2018-03-09 10:09:51 -08:00
Dante Ruiz
c49d0557fc
fixing check box issues
2018-03-09 09:29:37 -08:00
Dante Ruiz
55d8cfd4c1
make sure dont make audio devices that don't use stereo use stereo
2018-03-02 10:56:44 -08:00
Ken Cooke
bc7b983f48
Fast approximation of the azimuth parallax correction
2018-02-28 04:44:20 -08:00
Ken Cooke
41ccf6afd8
Compensate the near-field azimuth correction for the parallax baked into the HRTF dataset
2018-02-27 12:49:32 -08:00
Ken Cooke
bb2f3cac2c
Use named constant for the onset of near-field corrections (1 meter)
2018-02-27 08:51:55 -08:00
Ken Cooke
e367167709
New HRTF with near-field audio spatialization
2018-02-22 15:53:28 -08:00
Stephen Birarda
ffd10b79bf
refuse to handle positional audio streams with NaN position
2018-02-02 11:21:50 -08:00
Ken Cooke
e2e4e7f423
Re-implement collision sound pitch shifting
2018-01-19 16:03:59 -08:00
Ken Cooke
a421ba7649
Add "pitch" parameter to scriptable audio injector options.
...
Used in playSound() to pitch-shift the audio when injector is created.
2018-01-19 14:50:51 -08:00
Ken Cooke
660032d8fb
Fix bug in how emitAudioPacket() determines mono/stereo.
...
Compressed bytes were counted as if audio samples.
2018-01-10 06:54:27 -08:00
Ken Cooke
b6a88bbdda
Invalid WAV files should always be logged and not played
2017-12-14 10:20:46 -08:00
Ken Cooke
a99b1ffa23
HRTF cleanup
2017-10-29 18:01:43 -07:00
luiscuenca
b7c375f396
Cleaning
2017-10-25 19:09:37 -07:00
luiscuenca
3d3077978e
Simplyfied and fixed null pointer
2017-10-25 18:47:10 -07:00
John Conklin II
31b8013ed9
Merge pull request #11538 from kencooke/audio-mac-bugfix2
...
Additional cleanup of audio noise gate
2017-10-17 11:02:55 -07:00
Ken Cooke
bd82f47c66
Remove debug logging
2017-10-16 12:11:50 -07:00
Ken Cooke
7c14d5bbdf
Remove debug logging
2017-10-16 11:43:52 -07:00
Ken Cooke
a702c5a0e4
Fix audio glitches caused by initial burst of SelectedAudioFormat packets.
...
Temporary codec mismatch is expected during audio codec startup, due to packets already in-flight.
2017-10-16 11:41:40 -07:00
Ken Cooke
e4e37e65e6
Handle packets in-flight during audio codec startup
2017-10-13 08:19:30 -07:00
Ken Cooke
b026a0461d
Fix clang warnings for left-shift of signed int
2017-10-10 09:13:06 -07:00
Ken Cooke
4f19366349
Remove debug code
2017-10-06 08:05:55 -07:00
Ken Cooke
c6f3a9d9c3
Better comments
2017-10-06 08:04:18 -07:00
Ken Cooke
516e983dfb
Refactor peakhold to avoid mixed signed/unsigned fixed-point math
2017-10-06 08:03:25 -07:00
Ken Cooke
8822b1bfa4
Minor cleanup
2017-10-05 09:49:38 -07:00
Ken Cooke
82d13090f9
Better comments
2017-10-05 09:28:30 -07:00
Ken Cooke
d8341a0929
Work around compiler optimization bug
2017-10-05 09:27:07 -07:00
Ken Cooke
218de29356
disable compiler optimization as temporary fix
2017-10-05 07:39:21 -07:00
Bradley Austin Davis
b93e91b9f3
New android toolchain
2017-09-19 13:45:12 -07:00
Ken Cooke
684b7fee5a
DC filter cutoff at 0.5Hz
2017-08-24 11:20:22 -07:00
Ken Cooke
4a253023ee
float constants
2017-08-24 10:15:54 -07:00
Ken Cooke
c3ff505b73
More aggressive noise gate threshold
2017-08-24 10:06:41 -07:00
Atlante45
70a5916ef3
Fix debug builds startup crash
2017-07-19 16:18:01 -07:00
Seth Alves
06618e81d0
remove unneeded <>
2017-07-12 13:14:32 -07:00
Seth Alves
ddf2312dc6
code review
2017-07-12 12:45:52 -07:00
Seth Alves
b556ddc0ef
remove unneeded AudioInjectorPointer constructor
2017-07-12 07:24:19 -07:00
Seth Alves
084a989a7a
stopAndDeleteLater is now just stop
2017-07-11 21:21:42 -07:00
Seth Alves
3897ab2723
don't call deleteLater on smartpointered object
2017-07-11 20:16:00 -07:00
Seth Alves
972dc4d1b2
more const ref
2017-07-11 19:56:34 -07:00
Seth Alves
c52e7e180a
use const AudioInjectorPointer& in some places
2017-07-11 19:42:03 -07:00
Seth Alves
81489ea6c4
use QEnableSharedFromThis
2017-07-11 18:44:37 -07:00
Seth Alves
0b2f13dacc
don't use deleteLater on smartpointered object
2017-07-11 17:07:44 -07:00
Seth Alves
59c586bc5d
remove unused code
2017-07-11 16:58:19 -07:00
Seth Alves
3c8c87cff5
i hate you, milkman dan
2017-07-11 16:48:28 -07:00
Seth Alves
3670a04d8e
switch bare pointers to AudioInjector objects to be QSharedPointers
2017-07-11 14:24:58 -07:00
Brad Davis
6fc82bb351
Switch to preprocessor macro for blocking invokes to capture function information
2017-06-30 11:36:24 -07:00
Brad Davis
b52dd7b822
Don't use blocking connections on the main thread
2017-06-29 20:45:17 -07:00
Brad Hefta-Gaub
197006e3d3
Merge pull request #10780 from kencooke/audio-hrtf-avx512
...
HRTF optimizations
2017-06-22 13:34:05 -07:00
Ken Cooke
af0f460659
Fix extra whitespace
2017-06-22 06:38:13 -07:00
Ken Cooke
5d235f8c52
Fix typo
2017-06-22 06:32:32 -07:00
Ken Cooke
38c87b0f08
Fallback code to allow compiling with VS2013
2017-06-21 13:19:46 -07:00
Ken Cooke
afb26df2de
Runtime dispatch for AVX512 optimized HRTF
2017-06-21 11:26:53 -07:00
Ken Cooke
00c904c927
Detect compiler support for SIMD intrinsics in conditional compilation
2017-06-21 09:34:02 -07:00
Ken Cooke
1688ad5f0a
HRTF optimized for AVX512
2017-06-20 17:09:38 -07:00
Stephen Birarda
c132e29b06
remove conditional seek from InboundAudioStream
2017-06-14 11:42:19 -07:00
Stephen Birarda
29842c67cc
use received message faking for cleaner replication in audio
2017-06-13 18:04:59 -07:00
Stephen Birarda
ab3a0ddba2
don't emit codec mismatch upstream, handle replicated silent frames
2017-06-12 19:49:02 -07:00
seefo
cc57d28ccc
Made requested changes to PR10554
2017-05-26 11:49:43 -07:00
seefo
90d5b2a6d4
Removed SoundProcessor's dependence on Sound objects
2017-05-26 10:32:34 -07:00
seefo
32b5ac5020
Moved audio asset processing to a separate thread
2017-05-25 16:10:53 -07:00
Ken Cooke
3d67978caa
Delete the old noise gate
2017-05-23 15:53:38 -07:00
Ken Cooke
986d86ec17
Fix nasty preexisting bug in computing numSamples, where sizeof(SAMPLE_SIZE) incorrectly returns 4 instead of 2.
2017-05-23 10:29:43 -07:00
Ken Cooke
746b41e509
Fix typo in comments
2017-05-18 17:30:07 -07:00
Ken Cooke
205b9d4aec
Fix compiler warnings
2017-05-18 16:49:02 -07:00
Ken Cooke
18ed3dd6ed
Remove debug code
2017-05-18 14:30:25 -07:00
Ken Cooke
6f2a84a084
Add stand-alone DC blocking filter
2017-05-18 14:26:35 -07:00
Ken Cooke
c1cd26b473
New log-domain noise gate with adaptive threshold
2017-05-18 14:21:56 -07:00
Ken Cooke
106dd6ce6a
Fast fixed-point log2 approximation
2017-05-18 14:15:10 -07:00
Ken Cooke
cad9eeb8ba
Refactor the peak limiter (output is bit-exact)
2017-05-18 14:13:24 -07:00
Zach Pomerantz
c478f1a752
synchronously fill injector buffer on underrun
2017-05-09 16:34:42 -04:00
Zach Pomerantz
48af83a960
guard against audio injector and local buffer datarace
2017-05-05 17:05:40 -04:00
Atlante45
70ece9f0fd
Load skybox first and sounds later
2017-04-26 14:57:23 -07:00
Ken Cooke
69863dd735
Fix the crash in Debug builds, caused by undeclared metatype for AudioInjector*
2017-03-30 08:52:04 -07:00
Zach Pomerantz
f43706dfe1
clean AudioNoiseGate
2017-03-15 00:14:55 +00:00
Zach Pomerantz
0abcda86a8
mv AudioNoiseGate to audio
2017-03-15 00:14:55 +00:00
Brad Hefta-Gaub
bdab24d9bf
fix spelling
2017-03-09 08:25:56 -08:00
Brad Hefta-Gaub
79d8d90581
CR feedback
2017-03-08 20:35:24 -08:00
Brad Hefta-Gaub
2d595c1f87
CR feedback
2017-03-08 20:29:32 -08:00
Brad Hefta-Gaub
1bdad89cbe
properly handle silent packet transitions
2017-03-08 17:27:46 -08:00
Thijs Wenker
13b2b6086f
Fix recorder.js playback in interface
2017-02-21 19:47:26 +01:00
Zach Pomerantz
ff56eb24c8
Merge pull request #9537 from zzmp/audio/throttle-filter
...
Add injector/avatar attenuation to audio-mixer throttling
2017-02-07 20:57:43 +01:00
Ken Cooke
63c2aa1dfc
Remove obsoleted code
2017-02-06 12:55:03 -08:00
Ken Cooke
a77e4262e3
Remove obsoleted code
2017-02-06 12:47:28 -08:00
Ken Cooke
49605d52e0
Remove debug code
2017-02-06 10:42:32 -08:00
Ken Cooke
8033f932a6
Simulate 1% random packet-loss, for debug/test
2017-02-06 10:16:25 -08:00
Ken Cooke
4acb99cd4f
Use interpolated audio (codec packet-loss concealment) or zero samples (if no codec) when audio packets are lost. This audio is still processed by the audio pipeline to avoid clicks/pops.
2017-02-06 09:29:39 -08:00
Zach Pomerantz
1f56814714
Merge branch 'master' of https://github.com/highfidelity/hifi into audio/throttle-filter
2017-01-31 19:35:27 +00:00
Zach Pomerantz
24ca765a39
add hrtf gain getter
2017-01-27 14:36:59 -05:00
Zach Pomerantz
1c5228cb6d
fix AudioRingBuffer::appendData
2017-01-26 19:16:02 -05:00
Zach Pomerantz
3d526a1024
Merge branch 'master' of github.com:highfidelity/hifi into audio/threaded-local
2017-01-26 18:56:58 -05:00
Atlante45
f540c94113
Merge branch 'master' of https://github.com/highfidelity/hifi into ess-pr
2017-01-25 13:06:49 -08:00