trunk/src/osd/modules/sound/direct_sound.c
| r32073 | r32074 | |
| 31 | 31 | #else |
| 32 | 32 | #include <SDL/SDL_syswm.h> |
| 33 | 33 | #endif |
| 34 | #include "../../sdl/window.h" |
| 34 | 35 | #else |
| 35 | 36 | #include "winmain.h" |
| 36 | 37 | #include "window.h" |
| r32073 | r32074 | |
| 248 | 249 | SDL_SysWMinfo wminfo; |
| 249 | 250 | SDL_VERSION(&wminfo.version); |
| 250 | 251 | SDL_GetWindowWMInfo(sdl_window_list->sdl_window, &wminfo); |
| 251 | | result = IDirectSound_SetCooperativeLevel(dsound, wminfo.win.window, DSSCL_PRIORITY); |
| 252 | result = IDirectSound_SetCooperativeLevel(dsound, wminfo.info.win.window, DSSCL_PRIORITY); |
| 252 | 253 | #else |
| 253 | 254 | result = IDirectSound_SetCooperativeLevel(dsound, win_window_list->m_hwnd, DSSCL_PRIORITY); |
| 254 | 255 | #endif |