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