From e5736f62211c41fbc530e4e398e8fd2260962116 Mon Sep 17 00:00:00 2001 From: Steven Atkinson Date: Sun, 2 Apr 2023 10:56:43 -0700 Subject: [PATCH] Handle PAD chunk --- dsp/wav.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dsp/wav.cpp b/dsp/wav.cpp index 89dcbe5..b6e690c 100644 --- a/dsp/wav.cpp +++ b/dsp/wav.cpp @@ -17,7 +17,7 @@ bool idIsJunk(char *id) { return strncmp(id, "junk", 4) == 0 || strncmp(id, "JUNK", 4) == 0 || strncmp(id, "smpl", 4) == 0 || strncmp(id, "LIST", 4) == 0 || - strncmp(id, "bext", 4) == 0; + strncmp(id, "bext", 4) == 0 || strncmp(id, "PAD ", 4) == 0; } bool ReadChunkAndSkipJunk(std::ifstream &file, char *chunkID) {