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
Ryan C. Gordon
bab9a00838
VoIP: Fixed per-user gain output.
2008-06-05 15:14:07 +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
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
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
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
Thilo Schulz
843994c074
whoops.
2008-05-17 10:50:08 +00:00
Thilo Schulz
81f9b20bfb
- Workaround for buggy MacOSX getaddrinfo() implementation that doesn't accept AF_UNSPEC parameter in hints structure. Thanks icculus for reporting.
...
- Add -faltivec flag for debug builds.
2008-05-17 10:46:41 +00:00
Tim Angus
b2207b250f
* (bug 3641) Server is left running following a local disconnect
2008-05-12 10:49:02 +00:00
Tim Angus
a857487f9b
* Fix a bunch of compile warnings
...
* Only call pkg-config if it exists
* Remove cl_consoleHistory from README
2008-05-10 18:51:02 +00:00
Ludwig Nussel
c45d5403a5
combine all mouse events received in one frame
2008-05-06 20:24:34 +00:00
Ludwig Nussel
d7bdf4b344
define the product version in the Makefile
2008-05-06 20:24:32 +00:00
Thilo Schulz
3f56dffaa7
Show true framerate with stereo separation enabled
2008-05-03 12:58:14 +00:00
Thilo Schulz
fa0ff6aaac
shut up warning
2008-05-01 16:10:01 +00:00
Thilo Schulz
10ed996784
- replace a few constant values with GL macros in tr_cmds.c
...
- tidy up top of tr_types.h a bit, change flags to hex representation
- make ROM cvar enforcing really work
- remove cg_stereoSeparation from cgame as it is obsolete.
- Add CG_DrawCrosshair3D so people see crosshair correctly when stereoseparation is enabled
2008-05-01 14:56:57 +00:00
Thilo Schulz
65938da5ae
- variables with CVAR_ROM set get now overwritten by Cvar_Get() if the cvar exists already but was created by the user.
...
- Fix null pointer crash in Cvar_Print_f(), thanks to humancontroller for reporting.
2008-05-01 11:29:49 +00:00
Thilo Schulz
82e32bdf41
Make forced unloading work in more cases than just server disconnects
2008-04-29 22:49:37 +00:00
Thilo Schulz
1156a63d52
- change default value for stereo seperation
...
- make clearing buffer use black for clearing when changing anaglyphmode
- Make sure that dlights are greyscale, too.
2008-04-27 21:09:03 +00:00
Thilo Schulz
ae08d1a6d8
This may enable stereo rendering for other devices like shutter glasses, but I don't know whether this works yet.
2008-04-27 19:07:57 +00:00
Thilo Schulz
782b890caa
Another two minor clean-ups to last commit.
2008-04-27 17:43:35 +00:00
Thilo Schulz
425c351d1b
- Implement stereo rendering with anaglyph images.
...
- Add r_greyscale for black&white rendering
2008-04-27 17:32:14 +00:00
Tony J. White =
f222785168
* (bug 3611) prevent global symbol conflict on some systems (Mac OS X) for
...
lcc's getopt (Ben Millwood)
2008-04-23 17:39:39 +00:00
Thilo Schulz
1306d9760d
Fix crash bug for interfaces without assigned address, thanks to PhoinixGR for reporting.
2008-04-21 13:34:44 +00:00
Thilo Schulz
d77d3e0658
fix obvious bug, thanks mattn2
2008-04-16 20:57:08 +00:00
Ludwig Nussel
7a8c1ddaa6
Fix build on IRIX (Patrick Baggett)
2008-04-16 06:42:29 +00:00
Ludwig Nussel
53fc214d00
better handling of illegal mode values
2008-04-13 08:30:51 +00:00
Ludwig Nussel
89a5a6429e
sort video modes only if there are modes to sort
2008-04-13 08:30:48 +00:00
Thilo Schulz
cebdb640f3
remove commented code
2008-04-12 20:05:33 +00:00
Thilo Schulz
c281b6aca0
Another change to server parsing as a server reporting in from 69.79.84.0/24 with the master server could screw up the server list in ioquake3 clients.
2008-04-12 19:53:16 +00:00
Tim Angus
845de6a960
* Fix some recently introduced warnings
...
* Fix referenced pk3 list including excessive number of spaces
2008-04-12 18:58:06 +00:00
Thilo Schulz
563eb9443b
One minor comment fix
2008-04-12 17:14:53 +00:00