diff options
| author | Mary-nyan <mary@mary.zone> | 2022-12-11 00:57:01 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-11 00:57:01 +0100 |
| commit | 403e67d9835b7412022ff4d98685f83590641c88 (patch) | |
| tree | 5d86f83be23c065edfa92329570cf37d64c1f4d6 /Ryujinx.Audio.Backends.SoundIo/Native/SoundIoError.cs | |
| parent | c6f1908e0f07b6dd4b60cbe333a9b5f1adec276b (diff) | |
audio: Rewrite SoundIo bindings (#4088)
* audio: Rewrite SoundIo bindings
This rewrite SoundIo bindings to be safer and not a pedantic autogenerated mess.
* Address comments
* Switch DllImport to LibraryImport
* Address gdkchan's comment
Diffstat (limited to 'Ryujinx.Audio.Backends.SoundIo/Native/SoundIoError.cs')
| -rw-r--r-- | Ryujinx.Audio.Backends.SoundIo/Native/SoundIoError.cs | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Ryujinx.Audio.Backends.SoundIo/Native/SoundIoError.cs b/Ryujinx.Audio.Backends.SoundIo/Native/SoundIoError.cs new file mode 100644 index 00000000..9e33fa19 --- /dev/null +++ b/Ryujinx.Audio.Backends.SoundIo/Native/SoundIoError.cs @@ -0,0 +1,22 @@ +namespace Ryujinx.Audio.Backends.SoundIo.Native +{ + public enum SoundIoError + { + None = 0, + NoMem = 1, + InitAudioBackend = 2, + SystemResources = 3, + OpeningDevice = 4, + NoSuchDevice = 5, + Invalid = 6, + BackendUnavailable = 7, + Streaming = 8, + IncompatibleDevice = 9, + NoSuchClient = 10, + IncompatibleBackend = 11, + BackendDisconnected = 12, + Interrupted = 13, + Underflow = 14, + EncodingString = 15, + } +} |
