mirror of
https://github.com/Ryujinx/SDL2-CS.git
synced 2025-02-02 05:41:09 +00:00
overload openaudio to allow null
This commit is contained in:
parent
d03071653d
commit
705681d982
|
@ -5850,6 +5850,12 @@ namespace SDL2
|
|||
ref SDL_AudioSpec desired,
|
||||
out SDL_AudioSpec obtained
|
||||
);
|
||||
|
||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern int SDL_OpenAudio(
|
||||
ref SDL_AudioSpec desired,
|
||||
IntPtr obtained
|
||||
);
|
||||
|
||||
/* uint refers to an SDL_AudioDeviceID */
|
||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||
|
|
Loading…
Reference in a new issue