WAV format fix (close #977)

This commit is contained in:
Joshua Granick
2017-05-30 15:29:13 -07:00
parent 6f23e5ff4b
commit 9728b5ff22

View File

@@ -88,7 +88,7 @@ namespace lime {
if (wave_format.subChunkID[0] != 'f' || wave_format.subChunkID[1] != 'm' || wave_format.subChunkID[2] != 't' || wave_format.subChunkID[3] != ' ') {
lime::fseek (file, wave_format.subChunkSize, SEEK_CUR);
lime::fseek (file, currentHead + sizeof (WAVE_Data) + wave_format.subChunkSize, SEEK_SET);
} else {