blob: 3df1fe22732c6a894e9ccb6caad673986123c916 (
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
|
using Ryujinx.Horizon.Common;
using Ryujinx.Horizon.Sdk.Sf;
using System;
namespace Ryujinx.Horizon.Sdk.Audio.Detail
{
interface IAudioDevice : IServiceObject
{
Result ListAudioDeviceName(Span<DeviceName> names, out int nameCount);
Result SetAudioDeviceOutputVolume(ReadOnlySpan<DeviceName> name, float volume);
Result GetAudioDeviceOutputVolume(ReadOnlySpan<DeviceName> name, out float volume);
Result GetActiveAudioDeviceName(Span<DeviceName> name);
Result QueryAudioDeviceSystemEvent(out int eventHandle);
Result GetActiveChannelCount(out int channelCount);
Result ListAudioDeviceNameAuto(Span<DeviceName> names, out int nameCount);
Result SetAudioDeviceOutputVolumeAuto(ReadOnlySpan<DeviceName> name, float volume);
Result GetAudioDeviceOutputVolumeAuto(ReadOnlySpan<DeviceName> name, out float volume);
Result GetActiveAudioDeviceNameAuto(Span<DeviceName> name);
Result QueryAudioDeviceInputEvent(out int eventHandle);
Result QueryAudioDeviceOutputEvent(out int eventHandle);
Result GetActiveAudioOutputDeviceName(Span<DeviceName> name);
Result ListAudioOutputDeviceName(Span<DeviceName> names, out int nameCount);
}
}
|