1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
using Ryujinx.Horizon.Common;
using Ryujinx.Horizon.Sdk.Applet;
using Ryujinx.Horizon.Sdk.Sf;
namespace Ryujinx.Horizon.Sdk.Audio.Detail
{
interface IAudioRendererManager : IServiceObject
{
Result OpenAudioRenderer(
out IAudioRenderer renderer,
AudioRendererParameterInternal parameter,
int processHandle,
int workBufferHandle,
ulong workBufferSize,
AppletResourceUserId appletUserId,
ulong pid);
Result GetWorkBufferSize(out long workBufferSize, AudioRendererParameterInternal parameter);
Result GetAudioDeviceService(out IAudioDevice audioDevice, AppletResourceUserId appletUserId);
Result OpenAudioRendererForManualExecution(
out IAudioRenderer renderer,
AudioRendererParameterInternal parameter,
ulong workBufferAddress,
int processHandle,
ulong workBufferSize,
AppletResourceUserId appletUserId,
ulong pid);
Result GetAudioDeviceServiceWithRevisionInfo(out IAudioDevice audioDevice, AppletResourceUserId appletUserId, uint revision);
}
}
|