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 |
|---|---|
| Category | Audio & music |
| Module | engine-client |
| Also registered in | engine-client |
| Renderer | All / not renderer-specific |
| Network scope | client-only — Local to the client/UI/renderer. |
| Derivation | code-trace |
| Confidence | high |
| In-game xdocs | No |
| In-game menu | Yes — ingame_setup.menu:4474, ingame_setup.menu:4499, setup.menu:2515 |
| Default | 44 |
| Value type | float |
| Restart | Yes; the value is latched. |
| Cheat protected | No |
Values
No discrete value list is enforced or documented in the inspected source.
Flags
CVAR_ARCHIVE— saved to the user configurationCVAR_LATCH— latched until the relevant subsystem or map is restarted
Provenance
Origin: Base Jedi Academy
- Baseline evidence:
14cea1563762 - Upstream registration evidence: code/client/snd_dma.cpp:432
- Attribution method:
present-in-openjk-initial-source-import - Attribution confidence:
high - Notes: Identifier is present in OpenJK’s initial Raven source-import snapshot. Dated commit evidence identifies later registration changes relative to the origin snapshot.
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 | 714c868b42c6Merge 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 | c8f6ea17a324Remove SP code |
Changed registration, default, flags, module, renderer scope, handler, or gating. code/client/snd_dma.cpp |
medium |
2018-05-24 |
EternalJK | 097a0d05fa4eMerge 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 | fae0fd307416Merge 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
- registration: codemp/client/snd_dma.cpp:463 (Cvar_Get)
- behavior: codemp/client/snd_dma.cpp:630
- behavior: codemp/client/snd_mp3.cpp:295
- behavior: codemp/ui/ui_main.c:5816