Trevor Nichols
a85da9d86c
Implement loader for MegV3 file format
2020-12-15 11:11:05 +01:00
RoosterDragon
466de89e17
PackageEntry.HashFilename avoids stream reads .
...
Operate directly on the array to avoid overhead of stream reads.
2020-10-20 22:53:32 +02:00
teinarss
8d27d22100
Use discard syntax
2020-08-19 18:11:07 +01:00
teinarss
27f1a7ab27
Use out var syntax
2020-08-19 18:11:07 +01:00
abcdefg30
23b3c237b7
Update the year numbers in all license headers to 2020
2020-01-05 17:00:34 +00:00
RoosterDragon
b98123d9f8
Use SegmentStream.CreateWithoutOwningStream to avoid reading data into memory.
...
To avoid creating copied data in memory (e.g. via MemoryStream), this method can be used to reference offsets on files on disk, reducing memory requirements.
2019-10-24 20:48:14 +02:00
abcdefg30
cadbd0d9ab
Change the year number in all cs headers from 2018 to 2019
2019-01-26 23:15:21 +01:00
Andre Mohren
b1a44086a0
Removed unused using directives.
2018-11-17 17:23:22 +00:00
abcdefg30
42954aa18e
Remove BagFile
2018-04-11 17:18:03 +02:00
RoosterDragon
4da9b6f00a
Ensure BagFile.GetStream returns unique streams.
...
GetStream must return a unique stream on each call to ensure multiple callers can read their streams without affecting each other. As bag file returned multiple references to the same underlying stream, it was possible for multiple callers to disturb reads of each other, and thus read bad audio from each file.
2018-04-10 22:09:39 +02:00
Paul Chote
e69cf4fd5c
Rename another Stream.Write(byte[]) extension method.
2018-03-07 22:29:35 +01:00
Arular101
8a60918841
Update copyright notice year to 2018
2018-01-17 00:47:34 +01:00
RoosterDragon
ca01a1f186
Presize MemoryStream when possible.
...
Also use GetBuffer when we know we have presized the stream to the exact required size to prevent a needless copy.
2017-12-19 00:59:11 +01:00
RoosterDragon
9413d9595c
Providing streaming AudFormat data.
...
AudFormat.GetPCMInputStream now returns data that is streamed, rather than a MemoryStream.
2017-07-14 23:02:49 +01:00
Paul Chote
ba7290cc2c
Move classic-mod package loaders and support files to Mods.Cnc.
2017-05-29 12:41:28 +02:00