mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-07-23 15:07:11 +02:00
25 lines
503 B
C#
25 lines
503 B
C#
using Ryujinx.Audio.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();
|
|
}
|
|
}
|
|
}
|