I was testing how OpenYR mixes EVA voice announcements. A new line could jump ahead of one already waiting if it arrived just after the current line finished. The mixer removed the finished voice at the end of a frame and only picked up the queue when rendering the next one. In between, a new submission saw a free voice and started immediately.
I gave three one-frame clips distinct sample values so the regression could tell exactly which one played. I submitted A and B, rendered one frame, then submitted C. Mixer regression and proof
| Mixer | First frame | Second frame | Third frame |
|---|---|---|---|
| Before the fix | A | C | Test stopped |
| After the fix | A | B | C |
The mixer now gives the finished voice to the oldest waiting line before returning the frame. The queued line starts on the next frame. In the test, C now joins the queue behind B. All five mixer tests passed after the change. The single-frame clips let me control the exact point where the new cue arrived and assert its place in the queue from the samples alone.