Kae
908fa1ee60
Add libsamplerate, make Voice bitrate configurable
2024-08-03 11:54:08 +10:00
Kae
6b8c472978
nicer volume sliders
2024-03-25 01:57:55 +11:00
Kae
6c562470f3
Merge launcher branch
2024-03-08 20:09:27 +11:00
Kai Blaschke
cd23817bf1
Fixed remaining compiler warnings
...
Some warnings (e.g. in Opus and the tests) can't be fixed, only suppressed.
2024-02-28 18:30:27 +01:00
Kae
aa987a2177
Merge branch 'main' into small-fixes
2024-02-20 09:49:42 +11:00
Kai Blaschke
431a9c00a5
Fixed a huge amount of Clang warnings
...
On Linux and macOS, using Clang to compile OpenStarbound produces about 400 MB worth of warnings during the build, making the compiler output unreadable and slowing the build down considerably.
99% of the warnings were unqualified uses of std::move and std::forward, which are now all properly qualified.
Fixed a few other minor warnings about non-virtual destructors and some uses of std::move preventing copy elision on temporary objects.
Most remaining warnings are now unused parameters.
2024-02-19 16:55:19 +01:00
Kai Blaschke
c731eedeaf
Use memmove instead of memcpy as the blocks overlap.
2024-02-19 14:13:33 +01:00
Kae
c127b50303
Fix discrepancy in voice saving
2023-07-24 20:58:32 +10:00
Kae
4b0bc220e4
Support for changing the game's timescale
...
Context-specific (like per-world) timescales can also be added later
2023-07-21 00:58:49 +10:00
Kae
043db1841e
Voice: Minor options menu fixes, fix decibel level freezing on muted speakers
2023-07-20 14:55:38 +10:00
Kae
db3d004d30
Fix decibel level being 0 when under threshold
2023-07-19 23:30:04 +10:00
Kae
7ad1671e0d
Fix residual voice data not clearing
2023-07-19 23:28:13 +10:00
Kae
f2bc9adc36
Minor fixes
2023-07-19 23:25:16 +10:00
Kae
1f038540a5
Port in the voice settings menu
2023-07-19 23:16:59 +10:00
Kae
d682b164aa
more Lua voice callbacks
2023-07-19 21:12:14 +10:00
Kae
0c1c3611b1
Save loopback setting
2023-07-19 19:06:53 +10:00
Kae
620c23e70a
Schedule voice config save when updating settings from Lua
2023-07-19 19:04:31 +10:00
Kae
35b1c36b17
Add loopback, fix mono and leak
2023-07-19 18:59:35 +10:00
Kae
3cdbf8bf01
Lua functions for updating Voice settings, improve loudness visualization
2023-07-19 18:15:49 +10:00
Kae
a9dac1b2df
Detect setting changes loading Voice JSON
2023-07-19 01:16:47 +10:00
Kae
770314fd7e
Unused alternate blending for stereo
2023-07-18 18:18:02 +10:00
Kae
6e1d29fe86
Provide speaker info to HUD indicators
2023-07-18 17:36:51 +10:00
Kae
848b11399f
Get SE-compatible voice transmission working
2023-07-16 23:04:09 +10:00
Kae
da098c7b48
Support receiving SE voice data, resample per-speaker again because of positional delay
2023-07-16 20:44:15 +10:00
Kae
4e44a4ed75
Get transmission working
2023-07-15 14:01:44 +10:00
Kae
91cd6182d8
Fix mono
2023-07-15 00:39:10 +10:00
Kae
b4a53e0706
Only resample during mix, store samples a simpler way
...
Still need a better resampler, I think
2023-07-15 00:35:23 +10:00
Kae
73c5a17746
Move Opus encoding off-thread because of SDL
...
SDL gives its audio threads a very small stack size and it was making Opus fuck up
2023-07-14 22:47:49 +10:00
Kae
52ba6fa7f7
Ensure NONTHREADSAFE_PSUEDOSTACK is never used
2023-07-14 21:44:13 +10:00
Kae
8ff5d9f82b
Update StarVoice.cpp
2023-07-14 19:54:56 +10:00
Kae
77e14b5941
cleanup
2023-07-14 18:29:36 +10:00
Kae
3b38825b34
more voice stuff
2023-07-14 13:13:19 +10:00
Kae
f14f77724d
more voice work!!!
2023-07-13 20:47:53 +10:00
Kae
28f4204b09
more Voice work
2023-07-13 19:12:55 +10:00