aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Audio.Backends.SoundIo/Native/libsoundio/SoundIOException.cs
blob: 537b6cde21166baca3903e839aabdfb421014ca4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
using System;
using System.Runtime.InteropServices;

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