- don't check for the PCM format in the .wav reader, to allow reading other audio formats

git-svn-id: trunk@47464 -
This commit is contained in:
nickysn 2020-11-20 03:21:19 +00:00
parent a38da538af
commit e3d0b3c7c6

View File

@ -97,8 +97,6 @@ begin
Result := Result and (fmt.ChunkHeader.ID = AUDIO_CHUNK_ID_fmt) and ((fmt.ChunkHeader.Size + 8) >= sizeof(fmt));
if Result and ((fmt.ChunkHeader.Size + 8) > sizeof(fmt)) then
fStream.Seek((fmt.ChunkHeader.Size + 8) - sizeof(fmt), soCurrent);
if Result and (fmt.Format <> 1) then
Exit(False);
end;
function Min(a, b: Integer): Integer;