aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.HLE/HOS/Services/Audio/AudioRenderer/IAudioDevice.cs
blob: 1918a977f7747f3e2e24245346533b325e665da0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
using Ryujinx.HLE.HOS.Kernel.Threading;

namespace Ryujinx.HLE.HOS.Services.Audio.AudioRenderer
{
    interface IAudioDevice
    {
        string[] ListAudioDeviceName();
        ResultCode SetAudioDeviceOutputVolume(string name, float volume);
        ResultCode GetAudioDeviceOutputVolume(string name,  out float volume);
        string GetActiveAudioDeviceName();
        KEvent QueryAudioDeviceSystemEvent();
        uint GetActiveChannelCount();
        KEvent QueryAudioDeviceInputEvent();
        KEvent QueryAudioDeviceOutputEvent();
        string GetActiveAudioOutputDeviceName();
        string[] ListAudioOutputDeviceName();
    }
}