mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-08 14:28:40 +00:00
d02eeed9c1
* Haydn: Fix race condition in SoundIO Update implementation This should fix weird crashes happening for some people with SoundIO. Fix #2062 * haydn: Make SoundIO session lock-free
17 lines
431 B
C#
17 lines
431 B
C#
namespace Ryujinx.Audio.Backends.SoundIo
|
|
{
|
|
class SoundIoAudioBuffer
|
|
{
|
|
public readonly ulong DriverIdentifier;
|
|
public readonly ulong SampleCount;
|
|
public ulong SamplePlayed;
|
|
|
|
public SoundIoAudioBuffer(ulong driverIdentifier, ulong sampleCount)
|
|
{
|
|
DriverIdentifier = driverIdentifier;
|
|
SampleCount = sampleCount;
|
|
SamplePlayed = 0;
|
|
}
|
|
}
|
|
}
|