Ryujinx/Ryujinx.HLE/HOS/Services/Aud/ResultCode.cs

15 lines
418 B
C#
Raw Normal View History

namespace Ryujinx.HLE.HOS.Services.Aud
{
enum ResultCode
{
ModuleId = 153,
ErrorCodeShift = 9,
Success = 0,
DeviceNotFound = (1 << ErrorCodeShift) | ModuleId,
UnsupportedRevision = (2 << ErrorCodeShift) | ModuleId,
UnsupportedSampleRate = (3 << ErrorCodeShift) | ModuleId,
OpusInvalidInput = (6 << ErrorCodeShift) | ModuleId
}
}