2020-08-18 03:49:37 +02:00
|
|
|
|
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();
|
2021-09-19 12:29:19 +02:00
|
|
|
|
string GetActiveAudioOutputDeviceName();
|
|
|
|
|
string[] ListAudioOutputDeviceName();
|
2020-08-18 03:49:37 +02:00
|
|
|
|
}
|
|
|
|
|
}
|