Skip to content
Discussion options

You must be logged in to vote

The fix for validating WAV files was implemented as part of a fix here: #1390

The software now validates WAV files by directly inspecting their binary file headers. Specifically, the validation logic reads the file to confirm the presence and placement of required WAV signature strings and structural elements:

  • It checks for the 'RIFF' chunk ID at the very start of the file, which is required for all WAV files.
  • It reads the size field in the header and compares it to the file’s actual size as a consistency check; a mismatch issues a warning.
  • It checks for the 'WAVE' format marker immediately after the size header.
  • It ensures that the 'fmt ' sub-chunk identifier follows, which is necessary…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jordanpadams
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant