forked from Mirror/Ryujinx
12 lines
343 B
C#
12 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))) { }
|
|||
|
}
|
|||
|
}
|