2019-09-19 01:45:11 +01:00
|
|
|
namespace Ryujinx.HLE.HOS.Services.Audio
|
2019-07-14 20:04:38 +01:00
|
|
|
{
|
|
|
|
enum ResultCode
|
|
|
|
{
|
|
|
|
ModuleId = 153,
|
|
|
|
ErrorCodeShift = 9,
|
|
|
|
|
|
|
|
Success = 0,
|
|
|
|
|
|
|
|
DeviceNotFound = (1 << ErrorCodeShift) | ModuleId,
|
|
|
|
UnsupportedRevision = (2 << ErrorCodeShift) | ModuleId,
|
|
|
|
UnsupportedSampleRate = (3 << ErrorCodeShift) | ModuleId,
|
2020-05-03 21:45:22 +01: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 20:04:38 +01:00
|
|
|
}
|
2020-05-03 21:45:22 +01:00
|
|
|
}
|