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