2021-02-26 01:11:56 +01:00
|
|
|
namespace Ryujinx.Audio
|
2020-08-18 03:49:37 +02:00
|
|
|
{
|
|
|
|
public enum ResultCode
|
|
|
|
{
|
|
|
|
ModuleId = 153,
|
|
|
|
ErrorCodeShift = 9,
|
|
|
|
|
|
|
|
Success = 0,
|
|
|
|
|
2021-02-26 01:11:56 +01:00
|
|
|
DeviceNotFound = (1 << ErrorCodeShift) | ModuleId,
|
|
|
|
OperationFailed = (2 << ErrorCodeShift) | ModuleId,
|
|
|
|
UnsupportedSampleRate = (3 << ErrorCodeShift) | ModuleId,
|
|
|
|
WorkBufferTooSmall = (4 << ErrorCodeShift) | ModuleId,
|
|
|
|
BufferRingFull = (8 << ErrorCodeShift) | ModuleId,
|
|
|
|
UnsupportedChannelConfiguration = (10 << ErrorCodeShift) | ModuleId,
|
|
|
|
InvalidUpdateInfo = (41 << ErrorCodeShift) | ModuleId,
|
|
|
|
InvalidAddressInfo = (42 << ErrorCodeShift) | ModuleId,
|
|
|
|
InvalidMixSorting = (43 << ErrorCodeShift) | ModuleId,
|
|
|
|
UnsupportedOperation = (513 << ErrorCodeShift) | ModuleId,
|
2020-08-18 03:49:37 +02:00
|
|
|
}
|
|
|
|
}
|