mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-06-15 11:41:11 +00:00
26 lines
500 B
C#
26 lines
500 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();
|
|
}
|
|
}
|
|
}
|