Most "the audio is broken" reports are not DSP bugs. They are format and metadata bugs that surface weeks later, after the feature has already shipped. These three checks are cheap and catch the majority of them.
1. Read the header, not the extensio...