mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-18 11:09:56 -04:00
Add audio underrun and late-update counters, and a knob for the priority of the game's audio thread.
NX2NAVI_AUDIO_STATS=1 logs output underruns, late passes of the audio render thread, waits for the renderer lock, late audio updates from the game and voices that ran out of queued sound, each with the game frame, to find where a crackle comes from. NX2NAVI_AUDIO_GAME_PRIO raises the thread that sends RequestUpdate while its update is read (1) or also keeps it above normal (2). Both are off by default, so the audio path behaves as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -332,6 +332,12 @@
|
||||
# audio = default
|
||||
# Audio the output queues before it starts, in ms (0 to 500; above about 170, half the output ring, it is held there).
|
||||
# audio_prefill_ms = 20
|
||||
# Log where gaps in the sound come from (1 = on): output underruns, late passes of the audio render thread, late
|
||||
# audio updates from the game and voices that ran out of queued sound, with the game frame of each.
|
||||
# audio_stats = 0
|
||||
# Host priority of the game's audio thread: 0 leaves it alone, 1 raises it to the highest while its audio update is
|
||||
# read (the audio render thread waits for that), 2 also keeps it above normal. Takes effect at the next start.
|
||||
# audio_game_prio = 0
|
||||
# Volume in percent (0 to 100), on top of the game's own. Changes while the game runs take effect at once.
|
||||
# volume = 100
|
||||
# Speakers: stereo, 5.1 or auto (5.1 when the Windows speaker setup has six or more channels, stereo otherwise). The
|
||||
|
||||
Reference in New Issue
Block a user