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

@@ -68,7 +68,7 @@ namespace GameRes.Formats.BaseUnit
wav.Write (adpcm_data, 0, adpcm_data.Length);
wav.Write (0x61746164); // 'data'
wav.Write (data_length);
file.CopyTo (wav_file);
file.AsStream.CopyTo (wav_file);
}
wav_file.Position = 0;
var sound = new WaveInput (wav_file);