IBinaryStream migration.

This commit is contained in:
morkt
2016-10-16 09:22:53 +04:00
parent d0c1d5da01
commit bb18303eb4
251 changed files with 3277 additions and 3630 deletions

View File

@@ -65,7 +65,7 @@ namespace GameRes.Formats.Ice
if (0 == format.AverageBytesPerSecond
|| format.SamplesPerSecond * format.BlockAlign != format.AverageBytesPerSecond)
return null;
var pcm = new StreamRegion (file, 0x16, pcm_size);
var pcm = new StreamRegion (file.AsStream, 0x16, pcm_size);
return new RawPcmInput (pcm, format);
}
}