/ src / Ryujinx.Audio.Backends.SoundIo / Native / SoundIoException.cs
SoundIoException.cs
 1  using System;
 2  using System.Runtime.InteropServices;
 3  using static Ryujinx.Audio.Backends.SoundIo.Native.SoundIo;
 4  
 5  namespace Ryujinx.Audio.Backends.SoundIo.Native
 6  {
 7      internal class SoundIoException : Exception
 8      {
 9          internal SoundIoException(SoundIoError error) : base(Marshal.PtrToStringAnsi(soundio_strerror(error))) { }
10      }
11  }