mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-11-25 19:45:13 +00:00
dff138229c
* amadeus: Allow OOB read of GC-ADPCM coefficients Fixes "Ninja Gaiden Sigma 2" and possibly "NINJA GAIDEN 3: Razor's Edge" * amadeus: Fix wrong variable usage in delay effect We should transform the delay line values, not the input. * amadeus: Update GroupedBiquadFilterCommand documentation * amadeus: Simplify PoolMapper alignment checks * amadeus: Update Surround delay effect matrix to REV11 * amadeus: Add drop parameter support and use 32 bits integers for estimate time Also implement accurate ExecuteAudioRendererRendering stub. * Address gdkchan's comments * Address gdkchan's other comments * Address gdkchan's comment
22 lines
No EOL
861 B
C#
22 lines
No EOL
861 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,
|
|
InvalidExecutionContextOperation = (514 << ErrorCodeShift) | ModuleId,
|
|
}
|
|
} |