(6c8ca4a55) Tester's build, January 20th 2020
This commit is contained in:
@@ -353,6 +353,19 @@ namespace Barotrauma.Sounds
|
||||
private uint[] unqueuedBuffers;
|
||||
private float[] streamBufferAmplitudes;
|
||||
|
||||
public int StreamSeekPos
|
||||
{
|
||||
get { return streamSeekPos; }
|
||||
set
|
||||
{
|
||||
if (!IsStream)
|
||||
{
|
||||
throw new InvalidOperationException("Cannot set StreamSeekPos on a non-streaming sound channel.");
|
||||
}
|
||||
streamSeekPos = Math.Max(value, 0);
|
||||
}
|
||||
}
|
||||
|
||||
private object mutex;
|
||||
|
||||
public bool IsPlaying
|
||||
|
||||
Reference in New Issue
Block a user