aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.HLE/HOS/Services/Audio/AudioRenderer/IAudioDevice.cs
blob: 4a1b5ffb10e4fa241c6a80b13ed989c6618b4446 (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();
    }
}