sdl2: Update to Ryujinx.SDL2-CS 2.0.17 (#2553)
* sdl2: Update to Ryujinx.SDL2-CS 2.0.17 Update to latest SDL2 commit * Update to Ryujinx.SDL2-CS 2.0.17-build18
This commit is contained in:
parent
5e99bff7de
commit
6d9bc7cf90
4 changed files with 4 additions and 19 deletions
|
@ -71,10 +71,6 @@ namespace Ryujinx.Audio.Backends.SDL2
|
|||
}
|
||||
}
|
||||
|
||||
// TODO: Add this variant with pointer to SDL2-CS.
|
||||
[DllImport("SDL2", EntryPoint = "SDL_MixAudioFormat", CallingConvention = CallingConvention.Cdecl)]
|
||||
private static extern unsafe uint SDL_MixAudioFormat(IntPtr dst, IntPtr src, ushort format, uint len, int volume);
|
||||
|
||||
private unsafe void Update(IntPtr userdata, IntPtr stream, int streamLength)
|
||||
{
|
||||
Span<byte> streamSpan = new Span<byte>((void*)stream, streamLength);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue