mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-09 11:48:34 +02:00
- 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:
parent
a38da538af
commit
e3d0b3c7c6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user