using Ryujinx.Horizon.Common; using Ryujinx.Horizon.Sdk.Sf; using System; namespace Ryujinx.Horizon.Sdk.Audio.Detail { interface IAudioDevice : IServiceObject { Result ListAudioDeviceName(Span names, out int nameCount); Result SetAudioDeviceOutputVolume(ReadOnlySpan name, float volume); Result GetAudioDeviceOutputVolume(ReadOnlySpan name, out float volume); Result GetActiveAudioDeviceName(Span name); Result QueryAudioDeviceSystemEvent(out int eventHandle); Result GetActiveChannelCount(out int channelCount); Result ListAudioDeviceNameAuto(Span names, out int nameCount); Result SetAudioDeviceOutputVolumeAuto(ReadOnlySpan name, float volume); Result GetAudioDeviceOutputVolumeAuto(ReadOnlySpan name, out float volume); Result GetActiveAudioDeviceNameAuto(Span name); Result QueryAudioDeviceInputEvent(out int eventHandle); Result QueryAudioDeviceOutputEvent(out int eventHandle); Result GetActiveAudioOutputDeviceName(Span name); Result ListAudioOutputDeviceName(Span names, out int nameCount); } }