2019-09-18 17:45:11 -07:00
|
|
|
namespace Ryujinx.HLE.HOS.Services.Audio
|
2019-07-14 12:04:38 -07:00
|
|
|
{
|
|
|
|
enum ResultCode
|
|
|
|
{
|
|
|
|
ModuleId = 153,
|
|
|
|
ErrorCodeShift = 9,
|
|
|
|
|
|
|
|
Success = 0,
|
|
|
|
|
|
|
|
DeviceNotFound = (1 << ErrorCodeShift) | ModuleId,
|
|
|
|
UnsupportedRevision = (2 << ErrorCodeShift) | ModuleId,
|
|
|
|
UnsupportedSampleRate = (3 << ErrorCodeShift) | ModuleId,
|
2020-05-03 13:45:22 -07:00
|
|
|
BufferSizeTooSmall = (4 << ErrorCodeShift) | ModuleId,
|
|
|
|
OpusInvalidInput = (6 << ErrorCodeShift) | ModuleId,
|
|
|
|
TooManyBuffersInUse = (8 << ErrorCodeShift) | ModuleId,
|
|
|
|
InvalidChannelCount = (10 << ErrorCodeShift) | ModuleId,
|
|
|
|
InvalidOperation = (513 << ErrorCodeShift) | ModuleId,
|
|
|
|
InvalidHandle = (1536 << ErrorCodeShift) | ModuleId,
|
|
|
|
OutputAlreadyStarted = (1540 << ErrorCodeShift) | ModuleId
|
2019-07-14 12:04:38 -07:00
|
|
|
}
|
2020-05-03 13:45:22 -07:00
|
|
|
}
|