Unit Test that warns about Stereo Audio #33094
Labels
A: Integration Tests
Area: Integration tests, adding or fixing them
D2: Medium
Difficulty: A good amount of codebase knowledge required.
P2: Raised
Priority: Item has a raised priority, indicating it might get increased maintainer attention.
Description
#32064 accidentally put in stereo audio.
Now, this will usually show up as a debug assert to the developer. Alerting them to down mix their audio to mono
However, if the developer simply switches to release during their development, it will be ignored. As debug asserts don't run in release environments.
Since there is no test to tell reviewers "Hey this audio is stereo when it should be mono" it was merged. And is now causing issues (look at #33092)
Solving this will require to add a unit test that will check for stereo files in places where we want to have it be mono instead.
In certain places like lobby music, stereo audio is fine. So make sure your unit tests does not falsely flag those.
The text was updated successfully, but these errors were encountered: