Commit graph

1152 commits

Author SHA1 Message Date
Ryan C. Gordon
6dca7ed917 Added initial pile of VoIP documentation. 2008-06-25 07:03:14 +00:00
Zachary Slater
3856dea112 minor spelling fix. 2008-06-25 06:20:23 +00:00
Ryan C. Gordon
ee54985383 VoIP: allow targetting last attacker, or the one in your crosshairs. 2008-06-25 05:51:05 +00:00
Ryan C. Gordon
f8d6828f15 VoIP: Added cheapie VoIP meter. 2008-06-25 05:50:44 +00:00
Ryan C. Gordon
3958f1099e Added ioq3-specific credits screen. 2008-06-25 05:50:15 +00:00
Ludwig Nussel
21a208cb82 pass the correct size to Q_vsnprintf (Ian Lindsay) 2008-06-20 07:08:42 +00:00
Ludwig Nussel
5513fa3d75 fix the build on openbsd (Ian Lindsay) 2008-06-20 07:08:40 +00:00
Zachary Slater
4713fa4f79 Thanks to Lakitu7 for pointing this out. 2008-06-17 04:44:36 +00:00
Ryan C. Gordon
c923872ca2 Added GL_EXT_texture_compression_s3tc support.
GL_S3_s3tc, which Quake 3 previously supported, is legacy. This new codepath
 is the common, vendor-neutral extension to get the same results.
2008-06-13 02:28:51 +00:00
Ludwig Nussel
a98fed9ee2 bind ipv6 sockets first
by binding the ipv6 sockets first it's possible to bind 0.0.0.0 and
:: to the same port.
2008-06-12 18:32:33 +00:00
Ludwig Nussel
b060eae562 show numeric address the server binds to 2008-06-12 18:32:29 +00:00
Ryan C. Gordon
3ad65755f3 Whoops, maybe this is the right header location... 2008-06-09 00:07:14 +00:00
Ryan C. Gordon
a665d822d8 Added #include to fix compiler warning on Mac OS X. 2008-06-09 00:04:45 +00:00
Ryan C. Gordon
a7b854d65f VoIP: Save own voice when recording a demo.
We fake a server packet and write it directly to the demo file at the point
 where we'd transmit to the server. This is a little nasty, but it seems to
 be the most reasonable solution.
2008-06-08 08:25:25 +00:00
Ryan C. Gordon
28c48a8cf9 VoIP: Don't lose gain for good if using VAD on disconnect.
This temporarily disables VAD so the system can clean up recording state.
2008-06-08 08:24:38 +00:00
Ryan C. Gordon
c45fe80ea6 Removed an obsolete FIXME. 2008-06-08 08:23:55 +00:00
Ryan C. Gordon
be9ae48039 VoIP: tweaked VAD code.
Also added cl_voipVADThreshold cvar...if the power of a set of Speex frames
 doesn't exceed this value, it isn't transmitted.
2008-06-08 07:29:25 +00:00
Ryan C. Gordon
fd239c58a8 VoIP: Enable Automatic Gain Control. 2008-06-08 07:09:45 +00:00
Ryan C. Gordon
d4ee08b985 VoIP: attempt at changing voipPower calc and using it for VAD.
The Speex VAD sort of sucks, honestly, or I'm not using it right. Now
 trying this algorithm, after denoising:

    http://lists.xiph.org/pipermail/speex-dev/2006-March/004269.html

And I'll play around to find the threshold for considering a set of frames
 to be "voice" from there.

Also worth noting: we consider the power of the set of frames as a whole, so
 you need to sustain power for 0.25 seconds at a time, or it's not "voice."
2008-06-08 07:09:10 +00:00
Ryan C. Gordon
fdfaff64f8 VoIP: changed debug output filenames. 2008-06-07 14:41:21 +00:00
Ryan C. Gordon
fec2cc2f05 VoIP: initial shot at voice activation. 2008-06-07 14:40:59 +00:00
Ryan C. Gordon
8028fc042c VoIP: Only update from cl_voipSendTarget if sending data. 2008-06-07 14:40:30 +00:00
Ryan C. Gordon
c50799fcf7 VoIP: Initial work on adding Speex preprocessor. 2008-06-07 14:39:49 +00:00
Ryan C. Gordon
26c706df15 VoIP: Don't hardcode Speex sample rate. 2008-06-07 14:38:46 +00:00
Ludwig Nussel
13de2746ea loki-setup: use xdg-desktop-menu instead of loki-setup legacy menu entries 2008-06-07 13:31:18 +00:00
Ryan C. Gordon
bab9a00838 VoIP: Fixed per-user gain output. 2008-06-05 15:14:07 +00:00
Ludwig Nussel
35e2091c90 allow linking against an external speex library 2008-06-05 08:55:08 +00:00
Ludwig Nussel
86c42edf6b nsis: use modern ui 2008-06-05 08:42:37 +00:00
Julian Priestley
f65a956c81 Add PRODUCT_VERSION back into q_shared.h for MSVC builds. 2008-06-04 23:29:37 +00:00
Ryan C. Gordon
020704d2ff VoIP: functionality to adjust incoming audio gain, per-user. 2008-06-04 21:50:00 +00:00
Ryan C. Gordon
cc18323a99 VoIP: client can now specify targets for voice transmission. 2008-06-04 21:49:15 +00:00
Ryan C. Gordon
b9a9727689 Allow USE_LOCAL_HEADERS to work with SDL on Linux builds.
Otherwise, cross-compiling doesn't work.
2008-06-04 05:28:54 +00:00
Ryan C. Gordon
45c18e29b8 VoIP: voip cvar should be 1 by default. 2008-06-03 06:06:17 +00:00
Ryan C. Gordon
32d7799c7c Patched to compile on non Mac platforms. 2008-06-03 04:40:40 +00:00
Ryan C. Gordon
8ab3f7af8d Changed the protocol for VoIP packets to support legacy clients.
Previously, a legacy client wouldn't get a VoIP packet, but if they did,
 they'd panic and disconnect. Now they ignore them and continue on. This also
 gives us the framework to add other features legacy clients can ignore.

Oh, this also has the benefit of allowing us to store incoming VoIP for
 playback in recorded demos. They'll play the chatter on VoIP clients, and
 be ignored on legacy ones. Huge win.
2008-06-03 02:32:52 +00:00
Ryan C. Gordon
e0ebde0b27 Don't allow client to capture audio if playing back a demo. 2008-06-03 02:28:03 +00:00
Ryan C. Gordon
fc060fbebb make-macosx-ub.sh now parallelizes make across all available CPUs/cores. 2008-06-02 23:07:05 +00:00
Ryan C. Gordon
0403ca2260 More VoIP work: treat voip/sv_voip cvars as protocol version numbers. 2008-06-02 19:52:13 +00:00
Ryan C. Gordon
1e4fa5a54c Treat sv_voip cvar as a version number (0 == off, 1 == version 1 protocol).
Don't publish it to server's info string if set to zero.
2008-06-02 19:41:09 +00:00
Ryan C. Gordon
953e9ec287 sv_voip cvar should be latched. 2008-06-02 19:37:05 +00:00
Ludwig Nussel
5bdce1d547 fix openal dlopen 2008-06-02 15:54:36 +00:00
Ludwig Nussel
b8d3888f31 move voip cflags definition to platform independent place 2008-06-02 12:12:00 +00:00
Ryan C. Gordon
d43ecc9909 Fixed non-VoIP builds. 2008-06-02 06:46:41 +00:00
Ryan C. Gordon
7b4a796e44 Added libspeex to revision control, and updated Makefile to use it. 2008-06-01 18:53:28 +00:00
Ryan C. Gordon
b5eaa94d03 Changed a few VoIP cvars to be latched.
It either doesn't make sense to change these mid-game, or doing so won't work.
2008-06-01 18:10:33 +00:00
Ryan C. Gordon
9b1984647a Forbid setting voip cvar if network data rate is too low.
This prevents "Connection Interrupted" packets as VoIP data is incoming.
2008-06-01 18:08:03 +00:00
Ryan C. Gordon
a948f7cf69 Client shouldn't try to capture audio data if voip cvar is disabled. 2008-06-01 17:43:58 +00:00
Ryan C. Gordon
12326a9eac Initial patch for in-game VoIP support! 2008-06-01 07:51:23 +00:00
Ludwig Nussel
0ee3960225 mumble link support
The coordinate calculation was adopted from Warsow's mumble patch.
2008-05-30 17:19:31 +00:00
Ludwig Nussel
a15002ad0d reorder includes to fix build on OpenBSD (#3663, patch by Jonathan Gray) 2008-05-25 10:00:15 +00:00