mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-11-16 18:15:25 +00:00
26 lines
512 B
C#
26 lines
512 B
C#
|
using Ryujinx.Audio.Renderer.Integration;
|
|||
|
using Ryujinx.HLE.HOS.Kernel.Threading;
|
|||
|
|
|||
|
namespace Ryujinx.HLE.HOS.Services.Audio.AudioRenderer
|
|||
|
{
|
|||
|
class AudioKernelEvent : IWritableEvent
|
|||
|
{
|
|||
|
public KEvent Event { get; }
|
|||
|
|
|||
|
public AudioKernelEvent(KEvent evnt)
|
|||
|
{
|
|||
|
Event = evnt;
|
|||
|
}
|
|||
|
|
|||
|
public void Clear()
|
|||
|
{
|
|||
|
Event.WritableEvent.Clear();
|
|||
|
}
|
|||
|
|
|||
|
public void Signal()
|
|||
|
{
|
|||
|
Event.WritableEvent.Signal();
|
|||
|
}
|
|||
|
}
|
|||
|
}
|