RSS
Rev. 日時 作者
66fe6fd8b7a8 2023-10-18 09:18:49 Adam Kaminski

Improved the synchronicity between the RMS volume bar and the actual volume of the client's voice during a microphone test.

f90298436bd0 2023-10-16 23:29:43 Adam Kaminski

Fixed the +voicerecord button not working properly in Linux.

d06dbe932ecc 2023-10-16 08:43:13 Adam Kaminski

Added CVars for adjusting the min/max rolloff distances of the proximity voice chat.

3495f8b07772 2023-10-16 07:33:30 Adam Kaminski

Fixed a typo where some stub member function definitions had semicolons at their ends.

b99decfbcfe9 2023-10-16 05:19:37 Adam Kaminski

Instead of not defining VOIPController at all when NO_SOUND is defined, let any necessary public member functions in the class be defined as stubs.

d1f92e7949e0 2023-10-12 06:37:31 Adam Kaminski

Give VoIP channels more priority over any other playing sounds.

50a6ad85a51f 2023-10-10 01:58:14 Adam Kaminski

When a client leaves the game, their VoIP channel is now deleted right away.

7dac2b453ca1 2023-10-10 01:34:37 Adam Kaminski

Made some changes to the microphone test bar:
- Removed parameters to the "MicTestBar" MENUDEF command that control the colors of the bar.
- A shadow of the "sensitivity" bar now appears wherever the "RMS" bar overlaps it.
- Added optimization checks to avoid drawing bars that aren't visible.

4df5eb3c7af1 2023-10-10 01:16:03 Adam Kaminski

While proximity voice chat is enabled, a player is now "talking" only when their voice is audible to the listener.

c3062bbb61d6 2023-10-09 21:17:09 Adam Kaminski

VoIP audio packets that are transmitted in the same tick are now merged together using Opus's repacketizer function. This helps optimize the network traffic when sending commands to or from the server.

6d2acf0f6f34 2023-10-09 05:35:05 Adam Kaminski

Significantly reduced the memory footprint of creating a sound for each VoIP channel by shortening its length from five seconds to one second.

05b314c15c2d 2023-10-09 05:33:58 Adam Kaminski

Fixed the VOIP controller trying to start a transmission (with voice activity) while testing the microphone.

b66e685d637b 2023-10-09 05:30:18 Adam Kaminski

Made significant changes to how the VoIP controller and channels work:
- A VoIP channel no longer plays as a stream, but rather as a static sound in which new samples are occassionally copied into the sound's buffer. Playing too many streams at once was proving to be too unstable.
- Rather than letting a channel continuously play in the background even while muted, it stops when there's no samples left to play.
- The time when a VoIP channel stops playing is now sample-accurate and more efficient.
- Added a check so that the pitch of everyone's voices only changes if the new pitch differs from the old.

74f274e0316f 2023-10-09 05:27:01 Adam Kaminski

Added a template function for reading (a portion) of a sound's buffer and executing a callback function that manipulates the data.

6cb26d7dd110 2023-10-02 00:06:47 Adam Kaminski

Fixed a badly-formed initializer list.

3051f9070ca9 2023-10-01 22:30:19 Adam Kaminski

Added a feature that lets the client test their own microphone while in the "voice chat options" menu.

aa2cdc77dbfa 2023-10-01 22:28:57 Adam Kaminski

Added a check to forbid the client from changing the volume of their own VoIP channel.

bdc47bd47fea 2023-09-29 21:23:34 Adam Kaminski

Added an option to change the input device in the "voice chat options" menu. It's now also possible to change the device without restarting the entire sound module.

94c372ea58b0 2023-09-29 21:06:21 Adam Kaminski

Deleted an extra developer message that wasn't removed earlier.

218f181cc9ef 2023-09-28 10:19:48 Adam Kaminski

Make sure to clamp the input audio samples in case they're amplified too much by snd_recordvolume.

73149efb7b9c 2023-09-27 09:52:13 Adam Kaminski

Removed an option from the "voice chat options" menu that's no longer needed.

84d211544871 2023-09-26 07:39:55 Adam Kaminski

The VoIP controller is no longer usable during demo playback, so added a check to ensure that it can't be activated during playback.

5731f6e79b99 2023-09-26 07:35:18 Adam Kaminski

Backed out changeset: 09ff3e4bd439
Removes: "Fixed the VoIP controller not working while playing a clientside demo."

5ab1b5496e4a 2023-09-26 07:33:06 Adam Kaminski

Backed out changeset: b26ace30cb22
Removes: Added the CVar 'demo_savevoicechat' to (dis)allow VoIP audio packets to be saved into clientside demos. VoIP audio packets sent by the local player can now also be recorded into demos."

2dced7640b45 2023-09-26 05:03:51 Adam Kaminski

Added the CVar "snd_recordvolume" to control the volume of the recording device, up to 2.0, and moved the voice volume slider into "voice chat options".

5ec4e14b06dd 2023-09-25 11:00:05 Adam Kaminski

Made it possible to amplify the voice chat volume, or that of a specific player's VoIP channel, up to 2.0.

21e49715a344 2023-09-25 10:51:36 Adam Kaminski

Added "+voicerecord" to the "customize controls" menu.

27ca619c2e6a 2023-09-25 10:27:47 Adam Kaminski

Fixed CMake not finding the Opus header file automatically on Linux.

9ae1d41cfdab 2023-09-25 01:02:30 Adam Kaminski

Make sure that the Opus library can be found on Unix systems.

674c40e646ac 2023-09-25 01:00:08 Adam Kaminski

Fixed a CMake warning.

旧リポジトリブラウザで表示