diff options
| author | Mary <me@thog.eu> | 2021-08-26 22:26:28 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-26 22:26:28 +0200 |
| commit | 6d9bc7cf90e8016feea97eedb3cdd562c4628026 (patch) | |
| tree | 89314a3534269cf090e9ff45628dfe2c1842cf9c /Ryujinx.Audio.Backends.SDL2/SDL2HardwareDeviceSession.cs | |
| parent | 5e99bff7deb51ad6d69d2393bc267a8a9428058c (diff) | |
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
Diffstat (limited to 'Ryujinx.Audio.Backends.SDL2/SDL2HardwareDeviceSession.cs')
| -rw-r--r-- | Ryujinx.Audio.Backends.SDL2/SDL2HardwareDeviceSession.cs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Ryujinx.Audio.Backends.SDL2/SDL2HardwareDeviceSession.cs b/Ryujinx.Audio.Backends.SDL2/SDL2HardwareDeviceSession.cs index ceb6e706..843de01a 100644 --- a/Ryujinx.Audio.Backends.SDL2/SDL2HardwareDeviceSession.cs +++ b/Ryujinx.Audio.Backends.SDL2/SDL2HardwareDeviceSession.cs @@ -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); |
