Release 1.9.7.0 - Summer Update 2025
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user