mirror of
https://github.com/Ryujinx-NX/Ryujinx.git
synced 2024-11-14 21:17:43 -07:00
4c2ab880ef
* Ryujinx.Audio: Remove BOM from files * misc: Relicense Ryujinx.Audio under the terms of the MIT license With the approvals of all the Ryujinx.Audio contributors, this commit changes Ryujinx.Audio license from LGPLv3 to MIT.
22 lines
914 B
C#
22 lines
914 B
C#
namespace Ryujinx.Audio
|
|
{
|
|
public enum ResultCode
|
|
{
|
|
ModuleId = 153,
|
|
ErrorCodeShift = 9,
|
|
|
|
Success = 0,
|
|
|
|
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,
|
|
}
|
|
}
|