I was checking how OpenYR handles loose sound overrides. In the regression test, a WAV at 192,001 Hz decoded successfully, so lookup stopped there. The sound bank then dropped the decoded audio because its playback limit is 192,000 Hz. That left the cue silent even though the bank held a playable copy.
I moved the playback check into the lookup. A playable loose file still takes priority. If it has an unsupported rate or no samples, lookup continues through the Yuri’s Revenge and Red Alert 2 sound banks. A unit test checks both sides of the sample-rate limit, the empty-sample case and fallback through both banks.
For the headless check, I rendered the same map twice using the same binary. One install had the stock assets and the other added the out-of-range WAV under the name of the selection sound. Both runs recorded the same cue, and their six-second audio exports matched byte for byte. The lookup now takes responsibility for finding a sound the mixer can actually use. Sound-bank tests and offline audio comparison