bjorn
87bf9c7b27
Merge branch 'master' into dev
2021-04-27 22:20:38 -06:00
bjorn
4a4aff210d
Upgrade miniaudio;
2021-04-27 22:17:07 -06:00
bjorn
0a9956db60
phonon: Fix crash when setGeometry fails;
...
The call to `free` above was fixed, but the one in the error case
was not.
2021-04-27 22:15:15 -06:00
mcc
0209e75137
Pass -DLOVR_SANITIZE to CMake config for AddressSanitizer+ubsan
2021-04-27 21:30:31 -06:00
mcc
2a30a7f38d
Get SteamAudio and OculusAudio working on mac. Also add the Phonon target as a dependency when LOVR_USE_STEAM_AUDIO (all platforms), which has no effect but could be useful later if SteamAudio acquires any build steps while still being a runtime-linked library.
2021-04-27 00:02:44 -06:00
bjorn
09c1fe8117
Improve luax_readmesh error handling;
2021-04-23 12:55:21 -06:00
bjorn
159243190b
rm some unnecessary includes;
2021-04-20 20:08:30 -06:00
mcc
fc87bffbe0
Fix Android CMake build.
2021-04-20 07:45:39 -06:00
Jakob Bornecrantz
28a0356a9a
Add overlay support for OpenXR
2021-04-16 14:20:05 -06:00
Jakob Bornecrantz
70ef04e595
Add overlay parameter to headset init
2021-04-16 14:20:05 -06:00
Jakob Bornecrantz
909b43f34a
Order OpenXR extension adding
2021-04-16 14:20:05 -06:00
bjorn
e4d06211d3
Update README;
2021-04-16 11:20:36 -06:00
Josip Miskovic
8b5d3af9b8
Allow using alpha with hexcode when setting color
...
Implements #411 proposal
2021-04-15 10:24:35 -06:00
bjorn
7f629323f8
Fix tup msdfgen path;
2021-04-14 19:34:01 -06:00
bjorn
f2590078a9
Don't always force AMD mode to true!;
2021-04-14 10:41:14 -06:00
Jakob Bornecrantz
b02c30a0e4
Make bin directory AppImage ready
2021-04-13 11:03:57 -06:00
bjorn
90b33572e1
Use WebGL buffer path on AMD GPUs;
...
AHHHHHHHHHHHHH
2021-04-13 10:52:28 -06:00
mcc
d558996206
Hold lock when changing geometry (prevents crash, see issue #403 )
2021-04-12 13:01:54 -06:00
bjorn
fa47ecbdd3
v0.15.0;
2021-04-11 08:57:11 -06:00
bjorn
7b7c3132b8
vrapi: Fix lovr.headset.animate flipping left hand;
2021-04-11 08:15:17 -06:00
bjorn
70bbbc4549
Use pulseaudio on linux;
2021-04-11 07:19:49 -06:00
bjorn
046762c564
WebXR: Fix isDown; Fix hand tracking;
2021-04-10 19:41:37 -06:00
bjorn
171ca01d1f
tup: add new .idsig file to apksigner extra_outputs;
2021-04-08 16:33:28 -06:00
bjorn
d2a9e230bf
Rework Sound:getFrames;
...
It follows a more predictable argument order.
Fixed crash when reading frames into Blob.
2021-04-05 12:52:16 -06:00
bjorn
1ef99882f7
Fix Mesh vertex map memory leak;
2021-04-05 10:24:43 -06:00
bjorn
f565a7b69b
rm linking to OpenSLES;
2021-04-03 18:42:34 -06:00
bjorn
df6b6516d6
Add required Oculus manifest entries; Add debuggable;
2021-04-03 18:42:34 -06:00
bjorn
3b61dfc8c9
miniaudio: Use AAudio instead of OpenSL;
2021-04-03 18:42:34 -06:00
bjorn
419f281291
rm oculus go support; add oculus quest 2 support;
...
Rest in pieces, oculus gone.
2021-04-03 18:42:34 -06:00
bjorn
5106aaf74c
Audio listener/source default to identity orientations;
2021-04-03 18:38:27 -06:00
bjorn
2b94bcb46e
Add quat_identity;
2021-04-03 18:38:23 -06:00
bjorn
609d7e05ce
simple spatializer supports directivity;
...
Also coming soon to an oculus spatializer near you.
2021-04-03 18:22:23 -06:00
bjorn
19620c7682
wasm: Use default miniaudio buffer size.
...
Audio currently stutters on the wasm build. It is much more severe
in Chrome than in Firefox (very rare/subtle in Firefox). miniaudio
is currently using ScriptProcessorNode, which is deprecated because
it processes audio on the main thread. There's a new API that lets
you programmatically process audio on a thread called AudioWorklet,
but it's hella complicated. miniaudio doesn't want to support this
because it's complicated and requires a separate JavaScript request
but it seems like it would be possible to work around using a Blob.
In the meantime, miniaudio bumps up the buffer size on WebAudio, so
let's just use that in hope that it helps.
2021-04-03 18:04:26 -06:00
bjorn
7bc3bc232e
tup: platform-specific gc sections;
2021-04-03 14:46:50 -06:00
bjorn
832274edb6
tup: strip on non-debug all platforms; Add --gc-sections;
2021-04-03 14:16:16 -06:00
bjorn
efa48bda70
Manually disable a few miniaudio features;
2021-04-03 13:57:13 -06:00
bjorn
894d3cb0f2
tup: Strip on non-debug Android builds;
2021-04-03 13:49:31 -06:00
bjorn
d32d9f6d67
Source directivity power defaults to 1;
2021-04-03 11:22:23 -06:00
bjorn
15975343ea
Sound:get/setFrames respects channel count;
2021-04-03 10:28:03 -06:00
bjorn
024498b964
Source:clone fixes;
...
Clones no longer try to create converters if they aren't needed, which
was causing an error.
Also handle malloc failure.
2021-04-03 09:49:27 -06:00
bjorn
62eb47d9a6
tup: Add -funwind-tables;
2021-04-03 01:19:56 -06:00
bjorn
bbc868b2ea
CMake: Only strip android libraries in release mode;
2021-04-03 01:18:58 -06:00
bjorn
4b1cca50bc
CMake: msdfgen is always shared;
2021-04-03 01:18:40 -06:00
bjorn
4469fc99e8
Fix mixer bug; Refactor mixer;
...
- Sources without converters always read into the beginning of the
raw buffer, overwriting previous frames if the source was rewound
due to looping. This resulted in an audible click whenever the
source was rewound.
- After looping, Sources without converters would try to read too
many frames -- they would read a full buffer instead of only the
necessary number of frames.
2021-04-02 23:36:30 -06:00
bjorn
69b5c51388
Fix Sound:setFrames;
2021-04-02 23:35:18 -06:00
bjorn
6f6e7eea1b
Better newSound error messages;
2021-04-02 23:35:18 -06:00
bjorn
6ae0d9f96a
phonon works by default when no mesh is provided;
2021-04-02 23:35:18 -06:00
bjorn
618fb2ed2f
CMake: macOS builds into bin dir and moves libraries there;
...
A previous change modified the rpath to always be @executable_path.
This patch moves all libraries next to the executable, so that they can
load properly with the new rpath. For better organization, everything
is nested into a bin directory. This is congruent with how linux works.
Bundled builds remain the same -- they are using @executable_path like
before, and libraries get moved next to the executable inside the .app.
2021-04-02 22:17:58 -06:00
mcc
6b099e467f
Encapsulate "uses spatializer?" nature in lovrSourceUsesSpatializer
...
Also, remove accessor prototype for old IsSpatial() function
2021-04-02 14:16:39 -06:00
bjorn
245fed5e39
CMake: macOS always builds with @executable_path rpath;
2021-04-02 01:07:37 -06:00