SoundIoException.cs 343 B

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