Commit graph

968 commits

Author SHA1 Message Date
Dale Glass
2abff7b878 Fix PCM and zlib codec audio crash on packet loss 2021-09-25 23:02:16 +02:00
Julian Groß
fb24c84d86 Disable unsupported dependencies on aarch64 Linux 2021-09-16 06:11:01 +02:00
Heather Anderson
bcce9a2091 convert explicit shared pointer creation (using "new") to make_shared where possible/appropriate 2021-09-11 15:15:04 -07:00
Heather Anderson
ab4d70760e review and cleanup of "#include <QtCore/QSharedPointer>" 2021-09-10 21:40:54 -07:00
Kalila L
bfa10852a2 Fix OpenVrHelpers.cpp for updating OpenVR to 1.16.8. 2021-08-28 17:37:34 -04:00
Dale Glass
ffac6ac865 Don't use LeapMotion by default.
It doesn't have many users, and causes an annoying 'LEAPMOTIONConfig.cmake' not
found error if the SDK isn't installed.

We now require running cmake with -DUSE_LEAPMOTION=1 to enable using it.
2021-07-01 20:44:45 +02:00
David Rowe
4d11d1d515 Convert all "/**jsdoc" occurrences to "/*@jsdoc" 2021-05-12 10:54:45 +12:00
Kalila
dec3369583
Merge pull request #1178 from JulianGro/rename_fbx_to_model-serializers
Rename fbx to model serializers
2021-04-19 16:00:21 -04:00
Julian Groß
ecb7c47f1a Rename fbx folder to model-serializers 2021-04-15 19:26:10 +02:00
Julian Groß
69a3f21e5d Initial partial linux aarch64 support 2021-04-06 03:50:36 +02:00
Kalila
90fb70e041
Merge pull request #1013 from HifiExperiments/haptics
triggerHapticPulse supports arbitrary device index instead of just two hands
2021-03-11 17:29:45 -05:00
HifiExperiments
30c4779eeb name all the threads 2021-02-13 20:17:28 -08:00
HifiExperiments
b6e7466804 triggerHapticPulse supports arbitrary device index instead of hands 2021-02-09 17:14:13 -08:00
HifiExperiments
2667af3682 more safeguards 2021-01-20 21:25:30 -08:00
Kalila L
f5485e858c Licensing headers. 2020-12-10 18:56:04 -05:00
humbletim
5c2a8bd459 changes per CR 2020-10-31 14:11:05 -04:00
humbletim
dedf6a6975 further cleanup per peer review (thanks fluffy!) 2020-10-28 22:24:29 -04:00
humbletim
7fb0173ef7 clarifications per peer review 2020-10-28 21:58:32 -04:00
humbletim
f54b1c5fed revamped modkit plugin example 2020-10-28 21:26:01 -04:00
humbletim
fa3a886ce2 rename plugin folder 2020-10-28 20:48:59 -04:00
Kalila L
96877db43a Re-apply 0dadb100b1 w/ authorship.
Co-Authored-By: Humbletim <humbletim@gmail.com>
2020-10-24 05:02:45 -04:00
Kalila L
0dadb100b1 Revert 0b46c53df1 2020-10-24 04:49:01 -04:00
Kalila L
b3ab7e05d3 Add missing authorship comment. 2020-10-24 04:20:02 -04:00
Dale Glass
125841afc9 Remove the HiFiAC codec
This is a proprietary codec and it's uncertain who can use it, and
under what conditions. At this point, Opus is stable and a suitable
replacement.
2020-09-27 20:17:15 +02:00
kasenvr
dd3152a2e4
Merge pull request #349 from daleglass/fix_warnings
Fix warnings emitted by GCC
2020-09-24 17:06:16 -04:00
Dale Glass
eeb13fe17f Fix numerical precision warning 2020-08-27 19:27:11 +02:00
Dale Glass
3615ca70b1 Fix build of hifiSdl2 on GCC 10
GCC 10 and above sets -fno-common by default, and causes a linking problem here:
ultiple definition of `WAYLAND_wl_proxy_marshal'

Work around it per https://medium.com/@clentfort/using-esy-sdl2-with-gcc-10-91b4fa0c5aa9
2020-08-26 00:40:20 +02:00
David Rowe
989cd2d169 Fix Linux build error 2020-07-11 15:59:16 +12:00
David Rowe
8dd8ebcbaf Merge branch 'master' into feature/eye-tracking-option
# Conflicts:
#	plugins/openvr/src/ViveControllerManager.cpp
2020-07-11 08:14:13 +12:00
David Rowe
6e1af6df73 Update copyright notices 2020-07-10 07:18:29 +12:00
David Rowe
96ae709720 Update copyrights 2020-07-06 20:40:55 +12:00
David Rowe
5e52812747 Prevent excessive logging of a SteamVR event on Linux 2020-07-06 20:01:28 +12:00
David Rowe
c2bb26e519 Typos etc. 2020-06-29 12:40:39 +12:00
David Rowe
24352a7189 Add JSDoc for Vive eyes and fingers controller properties 2020-06-29 11:32:05 +12:00
David Rowe
e2a7abe8a2 Remove unused code 2020-06-29 11:12:46 +12:00
David Rowe
cc73528d0b Make Vive PRO Eye code Windows-only 2020-06-29 11:12:22 +12:00
David Rowe
2e9a8e2b33 Add option to enable Vive PRO Eye eye tracking 2020-06-27 15:14:21 +12:00
David Rowe
e95dd3c2bd Fix Settings > Calibration dialog not functioning when HIFI_DEBUG_OPENVR 2020-06-27 12:32:57 +12:00
David Rowe
0f324ee9ae Merge branch 'v2020.2.2-rc' into feature/openvr-linux
# Conflicts:
#	plugins/openvr/CMakeLists.txt
#	plugins/openvr/src/ViveControllerManager.cpp
2020-06-19 16:27:53 +12:00
David Rowe
aaf9abdaef Add missing delete 2020-06-18 10:23:22 +12:00
David Rowe
ab4ff1e7aa Proper Linux command line parsing 2020-06-17 08:55:54 +12:00
David Rowe
350b5f217e Try removing Linux-specific argc, argv code 2020-06-16 10:02:19 +12:00
David Rowe
ec81ac8750 Merge branch 'master' into feature/openvr-linux 2020-06-16 08:30:29 +12:00
David Rowe
4e57d53dde Merge branch 'master' into feature/vive-pro-eye-tracking 2020-06-14 10:51:25 +12:00
kasenvr
1a46b28b71
Merge pull request #62 from HifiExperiments/blendshapes
Support blendshapes on model entities
2020-05-31 18:34:42 -04:00
David Rowe
ce96fc61d6 Remove unused code 2020-05-24 13:16:26 +12:00
David Rowe
1ac184bd22 Fix further type errors 2020-05-24 13:16:15 +12:00
David Rowe
6981937697 Fix path to header file 2020-05-23 20:42:22 +12:00
David Rowe
343c6a4027 Fix Linux targeting 2020-05-23 19:46:26 +12:00
David Rowe
33a77a5dbd Fix further Linux errors 2020-05-23 19:08:16 +12:00
David Rowe
f2232b89f0 Address Linux build warnings and errors 2020-05-23 17:18:03 +12:00
David Rowe
74f50ce079 Fix Linux build error 2020-05-23 15:48:48 +12:00
David Rowe
b72d5bf80c Build OpenVR plugin on Linux 2020-05-23 14:53:43 +12:00
David Rowe
7634478aba Merge branch 'master' into feature/vive-pro-eye-tracking 2020-05-22 08:52:08 +12:00
David Rowe
c0e36b7960 Address code review comments 2020-05-16 14:37:40 +12:00
HifiExperiments
8017e30ab9
Merge branch 'master' into blendshapes 2020-05-07 13:27:22 -07:00
David Rowe
be8d97cbf7 Use new audio setting API values 2020-05-07 16:05:49 +12:00
David Rowe
f83ea58a10 Fix erroneous hard-coded audio setting string 2020-05-07 15:42:30 +12:00
David Rowe
da2aefb6b2 There are no longer so-called "high quality" overlays 2020-05-04 21:04:17 +12:00
Seth Alves
cb83e4e6c9 adjust to new eye matrix 2020-04-26 12:25:19 -07:00
Seth Alves
67f4811c2b blink actions were renamed 2020-04-26 12:24:47 -07:00
Seth Alves
a0031c6f10 eye and hand tracking for htc vive pro 2020-04-26 12:24:45 -07:00
Seth Alves
4d3da24c33 fix angularVelocity reported by leap-motion plugin 2020-04-26 12:22:53 -07:00
David Rowe
ffeb37e7aa Merge remote-tracking branch 'hifi/master' into merge-hifi-master
# Conflicts:
#	CMakeLists.txt
#	README.md
#	cmake/externals/glad32es/CMakeLists.txt
#	cmake/externals/glad41/CMakeLists.txt
#	cmake/externals/glad45/CMakeLists.txt
#	cmake/externals/polyvox/CMakeLists.txt
#	cmake/externals/quazip/CMakeLists.txt
#	cmake/externals/vhacd/CMakeLists.txt
#	cmake/init.cmake
#	cmake/ports/hifi-deps/CONTROL
#	cmake/ports/sdl2/CONTROL
#	cmake/ports/sdl2/disable-hidapi-for-uwp.patch
#	cmake/ports/sdl2/enable-winrt-cmake.patch
#	cmake/ports/sdl2/fix-arm64-headers.patch
#	cmake/ports/sdl2/fix-x86-windows.patch
#	cmake/ports/sdl2/portfile.cmake
#	cmake/ports/sdl2/vcpkg-cmake-wrapper.cmake
#	cmake/ports/tbb/portfile.cmake
#	hifi_vcpkg.py
#	interface/src/avatar/MyAvatar.h
#	libraries/avatars-renderer/src/avatars-renderer/Avatar.h
#	libraries/avatars/src/AvatarData.h
#	libraries/entities-renderer/src/RenderableEntityItem.h
#	libraries/entities/src/EntityItem.cpp
#	libraries/entities/src/EntityItem.h
#	libraries/fbx/src/GLTFSerializer.cpp
#	libraries/graphics-scripting/src/graphics-scripting/Forward.h
#	libraries/networking/src/AddressManager.cpp
#	libraries/networking/src/DomainHandler.h
#	libraries/procedural/src/procedural/ProceduralMaterialCache.cpp
#	libraries/render-utils/src/HighlightEffect.cpp
#	libraries/render-utils/src/MeshPartPayload.cpp
#	libraries/render-utils/src/Model.cpp
#	libraries/render-utils/src/RenderShadowTask.cpp
#	libraries/script-engine/src/WebSocketClass.cpp
2020-04-09 16:46:27 +12:00
HifiExperiments
c062cb75ae Merge remote-tracking branch 'upstream/kasen/core' into blendshapes 2020-04-03 14:35:21 -07:00
997abf6543
Remove logging statement. 2020-01-19 15:40:23 -06:00
cb78daa0b1 Delete trailing whitespace. 2020-01-16 14:34:08 -06:00
26d507c39a Yet more style fixes. 2020-01-16 11:30:45 -06:00
fef469cca4 More style fixes for the Great and Powerful Thoys 2020-01-15 18:00:27 -06:00
f93e47cfcd Merge branch 'opus-plugin' of https://github.com/MarcusLlewellyn/project-athena into opus-plugin 2020-01-15 13:51:12 -06:00
9a67ee19e0 More review fixes since I missed 66 of them. 2020-01-15 13:49:25 -06:00
d96da21dd7
Update plugins/opusCodec/src/OpusDecoder.cpp
Co-Authored-By: Thijs Wenker <me@thoys.nl>
2020-01-15 13:06:42 -06:00
0a3dfdefce
Update plugins/opusCodec/src/plugin.json
Co-Authored-By: Thijs Wenker <me@thoys.nl>
2020-01-15 13:05:43 -06:00
5ff8654363
Update plugins/opusCodec/src/plugin.json
Co-Authored-By: Thijs Wenker <me@thoys.nl>
2020-01-15 13:04:59 -06:00
24669c98f6 Made changes requested by reviewer
Fixed missing copyright headers.
Fixed exceeding 120 columns.
Fixed #include
Fixed if conditional style.
Fixed C++ reference symbol placement.
2020-01-15 12:57:18 -06:00
f23dfc7d0d Cleanup some kruft.
Removed some unecessary files, defines, and includes.
2020-01-14 17:41:55 -06:00
Dale Glass
830f3ab337 Instrument HifiAC code with performance timers
Signed-off-by: Marcus Llewellyn <marcus.llewellyn@gmail.com>
2020-01-14 16:58:05 -06:00
HifiExperiments
c45ee33e97 review comment 2020-01-13 17:44:32 -08:00
6a294404c2 fix marcus being very stoopid 2020-01-13 15:44:46 -06:00
3a5059a613 Re-enable hifiAC and pcmCodec projects
These has been disabled for testing purpose. They are now restored.
2020-01-13 13:35:36 -06:00
0022170400 Fix minor cmake oopsie. 2020-01-12 18:33:46 -06:00
2b8c0ffbdc Merge branch 'daleglass/opus-plugin' into opus-plugin 2020-01-12 18:18:14 -06:00
c9595016f8 DEBUG: Temp removal of hifiCodec and pcmCodec projects.
This is to ensure that no other codecs are being fallen back upon when testing the Opus codec.
2020-01-10 12:19:19 -06:00
32c438ffc2 Update CMakeLists.txt
Fix interface linking errors on Windows.
2020-01-10 12:17:53 -06:00
Dale Glass
18e83aa93d Remove encoder/decoder logging spam 2020-01-09 23:07:53 +01:00
Dale Glass
09aab2a2c6 Bump default quality 2020-01-09 23:07:40 +01:00
Dale Glass
91b3be036f Dump encoder arguments 2020-01-09 18:50:29 +01:00
Dale Glass
bf3d9cec8e Always maintain size of audio output buffer.
More debug output.
2020-01-09 16:43:12 +01:00
Dale Glass
fdab09c7a1 use constData() for encoding, it's faster 2020-01-09 16:43:12 +01:00
Dale Glass
7616c9c06e Don't attempt FEC decoding in decode(). More logging.
Also use the fixed size audio buffer for decoding -- audio always
works in packets of the same size, so we should always get the same
amount out of decoding.
2020-01-09 16:43:12 +01:00
Dale Glass
cf56bf415f Initial attempt at Opus compression. 2020-01-09 16:43:11 +01:00
a39ad97a1f Opus cleanup and C++ wrapper
Did a tiny amount of fleshing out and some cleanup. Also added a Google implemented C++ Opus wrapper in case it will be useful.
2020-01-09 16:43:11 +01:00
3d8d359c35 Initial work on Opus audio plugin
This commit is made up of changes to VCPKG and CMake to include the Opus libraries, as well as a skeleton project for an Opus audio plugin.
2020-01-09 16:43:11 +01:00
HifiExperiments
ef8f085b47 support blendshapes on model entities 2020-01-05 02:37:44 -08:00
9b4c419b2c Opus cleanup and C++ wrapper
Did a tiny amount of fleshing out and some cleanup. Also added a Google implemented C++ Opus wrapper in case it will be useful.
2019-12-21 12:05:14 -06:00
9887bf14ee Initial work on Opus audio plugin
This commit is made up of changes to VCPKG and CMake to include the Opus libraries, as well as a skeleton project for an Opus audio plugin.
2019-12-21 09:30:16 -06:00
Fluffy Jenkins
6563d32395 Fixed something thats for sure 2019-12-20 00:57:38 +00:00
Fluffy Jenkins
95c7998720 Changed code to correct type 2019-12-19 23:34:29 +00:00
Fluffy Jenkins
7d402f4bae Changed so it will fail to load VR straight away instead of trying so much it causes audio failures 2019-12-19 23:19:05 +00:00
Kasen IO
94df2c304b Merge branch 'kasen/core' into v0860-kasen-release+freshstart 2019-12-01 22:08:45 -05:00