Ryujinx/Ryujinx.Audio/Native/libsoundio/SoundIOException.cs

10 lines
278 B
C#

using System;
using System.Runtime.InteropServices;
namespace SoundIOSharp
{
public class SoundIOException : Exception
{
internal SoundIOException(SoundIoError errorCode) : base (Marshal.PtrToStringAnsi(Natives.soundio_strerror((int) errorCode))) { }
}
}