KEMBAR78
AUDIO: Skip JUNK padding in WAV files by tag2015 · Pull Request #5053 · scummvm/scummvm · GitHub
Skip to content

Conversation

@tag2015
Copy link
Contributor

@tag2015 tag2015 commented May 27, 2023

WAV files could contain a JUNK chunk for padding, that should be skipped when reading the header
instead of failing to find to 'fmt' chunk.

This is common in recent AGS games.

Reference here https://www.daubnet.com/en/file-format-riff
A similar issue tensorflow/tensorflow#26247

Some wave files may contain a JUNK chunk before the
'fmt ' chunk, used for padding. This should be skipped when reading the header.
@bluegr
Copy link
Member

bluegr commented May 28, 2023

Nice work, thanks!

@bluegr bluegr merged commit 9f802a1 into scummvm:master May 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants