aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Services/Audio/AudioRenderer/IAudioDevice.cs
blob: 42ea727f5df5647d63478d7e1f4ff063c565bae7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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();
        ResultCode GetAudioSystemMasterVolumeSetting(string name,  out float systemMasterVolume);
    }
}