RingRacers/src/sdl
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
..
macosx Bump version to 2.2, modversion to 3 2024-05-02 22:23:55 -05:00
SDL_main
SRB2Pandora
CMakeLists.txt Switch from CPM to vcpkg 2023-12-15 02:49:15 +00:00
dosstr.c SRB2 2.1 release 2014-03-15 13:11:35 -04:00
endtxt.c Removed all support for Dreamcast, XBox, PSP, PS3, GP2X, Wii, and WinCE from files in the sdl/ folder. If you wanted these ports, use the SDL 1.2 code in sdl12 2017-09-16 20:26:04 +01:00
endtxt.h SRB2 -> DRRR copyright in sdl folder 2024-04-05 10:38:06 -04:00
hwsym_sdl.c SRB2 -> DRRR copyright in sdl folder 2024-04-05 10:38:06 -04:00
hwsym_sdl.h SRB2 -> DRRR copyright in sdl folder 2024-04-05 10:38:06 -04:00
i_main.cpp SRB2 -> DRRR copyright in sdl folder 2024-04-05 10:38:06 -04:00
i_net.c SRB2 -> DRRR copyright in sdl folder 2024-04-05 10:38:06 -04:00
i_system.cpp Merge branch 'manual-link' into 'master' 2024-05-20 21:20:19 +00:00
i_threads.c SRB2 -> DRRR copyright in sdl folder 2024-04-05 10:38:06 -04:00
i_ttf.c SRB2 -> DRRR copyright in sdl folder 2024-04-05 10:38:06 -04:00
i_ttf.h SRB2 -> DRRR copyright in sdl folder 2024-04-05 10:38:06 -04:00
i_video.cpp rhi: Remove Pipeline, Uniform/BindingSet, add dynamic state 2024-10-30 09:08:04 -05:00
IMG_xpm.c Not dealing with size_t mess with SDL code 2019-12-06 14:42:47 -05:00
MakeCYG.cfg SRB2 2.1 release 2014-03-15 13:11:35 -04:00
mixer_sound.c SRB2 -> DRRR copyright in sdl folder 2024-04-05 10:38:06 -04:00
new_sound.cpp Add netgame voice chat 2024-12-13 17:12:14 -06:00
ogl_sdl.c SRB2 -> DRRR copyright in sdl folder 2024-04-05 10:38:06 -04:00
ogl_sdl.h SRB2 -> DRRR copyright in sdl folder 2024-04-05 10:38:06 -04:00
rhi_gl2_platform.cpp rhi: Remove Pipeline, Uniform/BindingSet, add dynamic state 2024-10-30 09:08:04 -05:00
rhi_gl2_platform.hpp rhi: Remove Pipeline, Uniform/BindingSet, add dynamic state 2024-10-30 09:08:04 -05:00
rhi_gles2_platform.cpp SRB2 -> DRRR copyright in sdl folder 2024-04-05 10:38:06 -04:00
rhi_gles2_platform.hpp SRB2 -> DRRR copyright in sdl folder 2024-04-05 10:38:06 -04:00
SDL_icon.xpm Replace SDL_icon.xpm with copy exported from GIMP 2022-05-20 20:13:11 -04:00
sdl_sound.c SRB2 -> DRRR copyright in sdl folder 2024-04-05 10:38:06 -04:00
sdlmain.h SRB2 -> DRRR copyright in sdl folder 2024-04-05 10:38:06 -04:00
srb2.ttf SRB2 2.1 release 2014-03-15 13:11:35 -04:00
srb2icon.png
Srb2SDL-vc9.vcproj
Srb2SDL-vc10.vcxproj NPO2 slope span optimization 2022-03-18 16:18:47 +00:00
Srb2SDL-vc10.vcxproj.filters
Srb2SDL.dsp
Srb2SDL.dsw SRB2 2.1 release 2014-03-15 13:11:35 -04:00
Srb2SDL.ico Icons + other tweaks to rebranding 2022-05-20 19:42:34 -04:00
Srb2SDL.props