aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Services/Audio/ResultCode.cs
blob: 5bba3582fbf2d2bcd2f8b4196bb806e262d8401c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
namespace Ryujinx.HLE.HOS.Services.Audio
{
    enum ResultCode
    {
        ModuleId       = 153,
        ErrorCodeShift = 9,

        Success = 0,

        DeviceNotFound        = (1 << ErrorCodeShift) | ModuleId,
        UnsupportedRevision   = (2 << ErrorCodeShift) | ModuleId,
        UnsupportedSampleRate = (3 << ErrorCodeShift) | ModuleId,
        OpusInvalidInput      = (6 << ErrorCodeShift) | ModuleId
    }
}