Skip to content
  • Stefan Sauer's avatar
    wavparse: simplify and correct header scanning · 36597cf2
    Stefan Sauer authored
    The wav spec tells that 'fmt' (and 'bext' if present) must come before 'data'.
    There is no requirement for 'fmt' to be first. We already had a list of chunks
    to skip, but it is easier to just skip any chunk while seeking for 'fmt'.
    
    This fixes reading files generated by ProTools.
    36597cf2