Files
OpenRA/mods/cnc
penev92 abea3a0f74 Fixed AudFormat and WavFormat implementations of ISoundFormat.LengthInSeconds
- Fixed a rounding issue in `WavReader.WaveLength()`.
- Fixed `AudReader.SoundLength()` not resetting the stream position.
- Fixed crashes caused by disposed streams because `LengthInSeconds` would try and calculate the length on the fly. It is now precalculated and cached (making it consistent across all 5 current `ISoundFormat` implementations).
- Fixed a crash in `AudReader.LoadSound()`'s `out Func<Stream> result` because that func would try and access the disposed stream's `Length` property. That works for `SegmentStream`, but not for `FileStream`.
- Fixed frameCount/soundLength label positioning in the AssetBrowser window to avoid text clipping .
2022-01-09 18:40:32 +01:00
..
2021-11-26 23:39:41 +01:00
2021-11-26 23:39:41 +01:00
2022-01-06 16:10:49 +02:00
2021-11-26 23:39:41 +01:00
2021-11-20 17:37:43 -06:00
2022-01-04 18:35:41 +01:00
2017-02-11 16:21:34 +00:00
2021-08-21 20:34:50 +02:00