sbooth / SFBAudioEngine

A powerhouse of audio functionality for macOS and iOS
https://sbooth.github.io/SFBAudioEngine/
MIT License
552 stars 87 forks source link

Fix shorten decoding for AIFF-based files and files with no seek table #167

Closed sbooth closed 3 years ago

sbooth commented 3 years ago

The sample rate is incorrectly calculated from the AIFF 'COMM' chunk and the byte swapping is not performed correctly.