diff options
| author | VolcaEM <63682805+VolcaEM@users.noreply.github.com> | 2020-05-03 22:45:22 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-03 22:45:22 +0200 |
| commit | b0f0bd205dc1664aa18cb2fa61eeac929e779d36 (patch) | |
| tree | 0108db65e9e49d740ce5bfdece0a74b48ff07671 | |
| parent | 28e12dad0fd8bee776a8f3f2add9fdc455cc98c5 (diff) | |
Add various error codes to Audio (#1201)
The error codes were taken from Switchbrew (switchbrew.org/wiki/Error_codes)
| -rw-r--r-- | Ryujinx.HLE/HOS/Services/Audio/ResultCode.cs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Ryujinx.HLE/HOS/Services/Audio/ResultCode.cs b/Ryujinx.HLE/HOS/Services/Audio/ResultCode.cs index 5bba3582..fd2091c2 100644 --- a/Ryujinx.HLE/HOS/Services/Audio/ResultCode.cs +++ b/Ryujinx.HLE/HOS/Services/Audio/ResultCode.cs @@ -10,6 +10,12 @@ namespace Ryujinx.HLE.HOS.Services.Audio DeviceNotFound = (1 << ErrorCodeShift) | ModuleId, UnsupportedRevision = (2 << ErrorCodeShift) | ModuleId, UnsupportedSampleRate = (3 << ErrorCodeShift) | ModuleId, - OpusInvalidInput = (6 << ErrorCodeShift) | ModuleId + 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 } -}
\ No newline at end of file +} |
