RingRacers/cmake/Modules
Eidolon 22b20b5877 Add netgame voice chat
Implemented using libopus for the Opus codec, same as is used in Discord.
This adds the following cvars:

- `voice_chat` On/Off, triggers self-deafen state on server via weaponprefs
- `voice_mode` Activity/PTT
- `voice_selfmute` On/Off, triggers self-mute state on server via weaponprefs
- `voice_inputamp` -30 to 30, scales input by value in decibels
- `voice_activationthreshold` -30 to 0, if any peak in a frame is higher, activates voice
- `voice_loopback` On/Off, plays back local transcoded voice
- `voice_proximity` On/Off, enables proximity effects for server
- `voice_distanceattenuation_distance` distance in fracunits to scale voice volume over
- `voice_distanceattenuation_factor` distance in logarithmic factor to scale voice volume by distance to. e.g. 0.5 for "half as loud" at or above max distance
- `voice_stereopanning_factor` at 1.0, player voices are panned to left or right speaker, scaling to no effect at 0.0
- `voice_concurrentattenuation_factor` the logarithmic factor to attenuate player voices with concurrent speakers
- `voice_concurrentattenuation_min` the minimum concurrent speakers before global concurrent speaker attenuation
- `voice_concurrentattenuation_max` the maximum concurrent speakers for full global concurrent speaker attenuation
- `voice_servermute` whether voice chat is enabled on this server. visible from MS via bitflag
- `voicevolume` local volume of all voice playback

A Voice Options menu is added with a subset of these options, and Server Options has server mute.
2024-12-13 17:12:14 -06:00
..
CMakeASM_YASMInformation.cmake cmake: Fix nasm/add yasm support 2015-02-01 21:25:02 -06:00
CMakeDetermineASM_YASMCompiler.cmake cmake: Fix nasm/add yasm support 2015-02-01 21:25:02 -06:00
CMakeTestASM_YASMCompiler.cmake cmake: Fix nasm/add yasm support 2015-02-01 21:25:02 -06:00
FindGME.cmake Switch from CPM to vcpkg 2023-12-15 02:49:15 +00:00
FindOgg.cmake cmake: Add FindOgg find module 2024-02-24 21:28:47 -05:00
FindOpus.cmake Add netgame voice chat 2024-12-13 17:12:14 -06:00
FindSDL2.cmake cmake: Build all deps and static link 2022-11-27 02:44:10 -08:00
FindSDL2_main.cmake whitespace clean 2016-02-25 18:31:40 -05:00
FindVorbis.cmake Add libvorbis (and ogg) dependency 2023-02-24 19:20:43 -08:00
FindVorbisEnc.cmake Add libvorbis (and ogg) dependency 2023-02-24 19:20:43 -08:00
FindVPX.cmake Switch from CPM to vcpkg 2023-12-15 02:49:15 +00:00
FindYUV.cmake Switch from CPM to vcpkg 2023-12-15 02:49:15 +00:00
GitUtilities.cmake cmake/Comptime.cmake: exclude remote refs HEAD from current branch search 2023-03-22 15:23:44 -07:00
LibFindMacros.cmake whitespace clean 2016-02-25 18:31:40 -05:00