mirror of
https://github.com/GreemDev/Ryujinx
synced 2024-11-22 09:53:35 +01:00
403e67d983
* 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
11 lines
343 B
C#
11 lines
343 B
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using static Ryujinx.Audio.Backends.SoundIo.Native.SoundIo;
|
|
|
|
namespace Ryujinx.Audio.Backends.SoundIo.Native
|
|
{
|
|
internal class SoundIoException : Exception
|
|
{
|
|
internal SoundIoException(SoundIoError error) : base(Marshal.PtrToStringAnsi(soundio_strerror(error))) { }
|
|
}
|
|
}
|