Release 1.9.7.0 - Summer Update 2025

This commit is contained in:
Regalis11
2025-06-17 16:38:11 +03:00
parent 22227f13e5
commit ea5a2bc693
297 changed files with 7344 additions and 2421 deletions
@@ -1,8 +1,6 @@
using System;
using OpenAL;
using Barotrauma.IO;
using Microsoft.Xna.Framework;
using Barotrauma.IO;
using System.Xml.Linq;
using System;
namespace Barotrauma.Sounds
{
@@ -24,6 +22,11 @@ namespace Barotrauma.Sounds
public readonly bool StreamsReliably;
/// <summary>
/// Length of the audio in seconds. Null if the length is unknown (e.g. a streaming audio source).
/// </summary>
public abstract double? DurationSeconds { get; }
public bool Loading { get; protected set; }
private readonly SoundManager.SourcePoolIndex sourcePoolIndex = SoundManager.SourcePoolIndex.Default;