aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Horizon/Sdk/Audio/Detail/AudioSnoopManager.cs
blob: cf1fe3d1df6b56ec15757874b0a8056de4c9b570 (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
25
26
27
28
29
30
using Ryujinx.Horizon.Common;
using Ryujinx.Horizon.Sdk.Sf;

namespace Ryujinx.Horizon.Sdk.Audio.Detail
{
    partial class AudioSnoopManager : IAudioSnoopManager
    {
        // Note: The interface changed completely on firmware 17.0.0, this implementation is for older firmware.

        [CmifCommand(0)]
        public Result EnableDspUsageMeasurement()
        {
            return Result.Success;
        }

        [CmifCommand(1)]
        public Result DisableDspUsageMeasurement()
        {
            return Result.Success;
        }

        [CmifCommand(6)]
        public Result GetDspUsage(out uint usage)
        {
            usage = 0;

            return Result.Success;
        }
    }
}