s_khz

Base Jedi Academy

Needs review. The inventory/provenance evidence is recorded, but some behavior, options, or attribution still lacks a direct user-facing source.

Controls s_khz in the engine-client module. Consult the cited behavior reads before relying on values not listed here.

At a glance

Field Value
Default 44
Value type float
Restart Yes; the value is latched.
Manually settable Yes
Cheat protected No
Network scope client-only: Local to the client/UI/renderer.
Category Audio & music
Module engine-client
Renderer All / not renderer-specific
Derivation code-trace
Confidence high
Added 2013-04-08 in 14cea1563 (how to compare this against your build)
In-game xdocs No
In-game menu Yes: ingame_setup.menu:4474, ingame_setup.menu:4499, setup.menu:2515

Values

No discrete value list is enforced or documented in the inspected source.

Flags

Provenance

Origin: Base Jedi Academy

Later changes

These commits occur after the ultimate-origin introduction on TaystJK’s inherited first-parent lineage. Registration evidence is exact; behavior evidence requires a changed bound cvar reference or a changed registered command-handler hunk.

Date Change source Commit / subject Evidence Confidence
2013-04-16 OpenJK 714c868b42c6
Merge branch ‘master’ of https://github.com/Razish/OpenJK
Changed registration, default, flags, module, renderer scope, handler, or gating. codemp/client/snd_dma.cpp high
2013-12-24 OpenJK e6d60cd9a189
[SP] s_khz default to 44.
Changed registration, default, flags, module, renderer scope, handler, or gating. code/client/snd_dma.cpp medium
2014-01-30 OpenJK d3a6d2b9b9d2
[MP] Style: remove superfluous whitespace
Changed an exact bound cvar-variable reference. codemp/ui/ui_main.c medium
2015-11-24 EternalJK c8f6ea17a324
Remove SP code
Changed registration, default, flags, module, renderer scope, handler, or gating. code/client/snd_dma.cpp medium
2018-05-24 EternalJK 097a0d05fa4e
Merge remote-tracking branch ‘bucky/master’
Changed registration, default, flags, module, renderer scope, handler, or gating; and an exact bound cvar-variable reference. codemp/client/snd_dma.cpp, codemp/client/snd_local.h medium
2018-07-22 EternalJK fae0fd307416
Merge branch ‘feature/update-game’ into develop
Changed registration, default, flags, module, renderer scope, handler, or gating; and an exact bound cvar-variable reference. codemp/client/snd_dma.cpp, codemp/client/snd_local.h medium

Evidence

Generated from source commit c722804317d7 on 2026-09-28. Anything merged after that is not reflected here.