Skip to content

Use voice_modenable instead of voice_enable, fix voicerecord state#1703

Merged
nullsystem merged 1 commit intoNeotokyoRebuild:masterfrom
nullsystem:VoiceEnableLoopbackFix
Feb 19, 2026
Merged

Use voice_modenable instead of voice_enable, fix voicerecord state#1703
nullsystem merged 1 commit intoNeotokyoRebuild:masterfrom
nullsystem:VoiceEnableLoopbackFix

Conversation

@nullsystem
Copy link
Collaborator

@nullsystem nullsystem commented Feb 18, 2026

Description

voice_enable have issues when toggling it on/off and using the tweak in the settings menu, seems to be an Source SDK bug. However, I've noticed checked in HL2:DM, while it also have the same issue (through testing in console), the settings doesn't use voice_enable and now uses voice_modenable when it toggles that setting instead.

Also added migration for v26 from voice_enable to voice_modenable setting.

Then there's a second bug where after you fiddle around with tweaking, load up a local server and the voice recording HUD indicator in the bottom left show's it's recording even though it's actually not determining by voice_loopback 1. This can be worked around by setting UpdateSpeakerStatus and ending tweaking unified under the NeoSettingsEndVoiceTweakMode function.

Extra note: When pressing the voice keybind, this will always re-enable voice_modenable to 1 and this is also the behavior on HL2:DM. So changing to this setting and this behavior is just in-parity with upstream's voice enable/disable behavior.

Toolchain

  • Linux GCC Distro Native GCC 15

@nullsystem nullsystem requested a review from a team February 18, 2026 01:33
…e bug

`voice_enable` have issues when toggling it on/off and using the tweak
in the settings menu, seems to be an Source SDK bug. However, I've noticed
checked in HL2:DM, while it also have the same issue (through testing in
console), the settings doesn't use `voice_enable` and now uses
`voice_modenable` when it toggles that setting instead.

Also added migration for v26 from voice_enable to voice_modenable setting.

Then there's a second bug where after you fiddle around with tweaking,
load up a local server and the voice recording HUD indicator in the
bottom left show's it's recording even though it's actually not
determining by voice_loopback 1. This can be worked around by setting
UpdateSpeakerStatus and ending tweaking unified under the
NeoSettingsEndVoiceTweakMode function.

Extra note: When pressing the voice keybind, this will always re-enable
voice_modenable to 1 and this is also the behavior on HL2:DM. So changing
to this setting and this behavior is just in-parity with upstream's voice
enable/disable behavior.
@nullsystem nullsystem force-pushed the VoiceEnableLoopbackFix branch from 7ba421e to 64fb2a0 Compare February 18, 2026 01:45
@sunzenshen sunzenshen requested a review from a team February 19, 2026 05:22
@nullsystem nullsystem merged commit 8891e8b into NeotokyoRebuild:master Feb 19, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants