aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.HLE/HOS/Services/Audio/AudioRenderer/AudioKernelEvent.cs
blob: 414c70a43fa841eb6e702f754ebeb365dd1f333a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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();
        }
    }
}