Commit 55362407 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

DirectX: fix previous commit about WinRT

parent 508958eb
...@@ -612,7 +612,7 @@ static int InitDirectSound( audio_output_t *p_aout ) ...@@ -612,7 +612,7 @@ static int InitDirectSound( audio_output_t *p_aout )
* sound without any video, and so what window handle should we use ??? * sound without any video, and so what window handle should we use ???
* The hack for now is to use the Desktop window handle - it seems to be * The hack for now is to use the Desktop window handle - it seems to be
* working */ * working */
#ifndef VLC_WINSTORE_APP #if !VLC_WINSTORE_APP
if( IDirectSound_SetCooperativeLevel( p_aout->sys->p_dsobject, if( IDirectSound_SetCooperativeLevel( p_aout->sys->p_dsobject,
GetDesktopWindow(), GetDesktopWindow(),
DSSCL_EXCLUSIVE) ) DSSCL_EXCLUSIVE) )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment