overload openaudio to allow null
This commit is contained in:
parent
d03071653d
commit
705681d982
@ -5851,6 +5851,12 @@ namespace SDL2
|
||||
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)]
|
||||
public static extern uint SDL_OpenAudioDevice(
|
||||
|
Loading…
x
Reference in New Issue
Block a user