set hwnd to null

This commit is contained in:
chayleaf 2023-03-10 02:32:37 +07:00
parent fbc16c4b0c
commit 33a2ccabde

View file

@ -764,7 +764,7 @@ float __stdcall BASS_BASS_GetVolume(void) {
*/ */
BOOL __stdcall BASS_BASS_Init(int device, DWORD freq, DWORD flags, HWND win, void * dsguid) { BOOL __stdcall BASS_BASS_Init(int device, DWORD freq, DWORD flags, HWND win, void * dsguid) {
BASS_START(BASS_Init(int device, DWORD freq, DWORD flags, HWND win, void * dsguid)); BASS_START(BASS_Init(int device, DWORD freq, DWORD flags, HWND win, void * dsguid));
BOOL ret = BASS_Init(device, freq, flags, win, dsguid); BOOL ret = BASS_Init(device, freq, flags, 0, dsguid);
if (!ret) WINE_TRACE("BASS_Init(%d, %u, %u, %p, %p) = %u", device, freq, flags, win, dsguid, ret); if (!ret) WINE_TRACE("BASS_Init(%d, %u, %u, %p, %p) = %u", device, freq, flags, win, dsguid, ret);
PRINT(BASS_Init); PRINT(BASS_Init);
return ret; return ret;