]> git.sesse.net Git - vlc/blobdiff - modules/audio_output/directx.c
macosx: add support for the Video Title option (close #3557)
[vlc] / modules / audio_output / directx.c
index b827ed66b3783fe6245a17658b1f851bb529de60..3da3452b766cea2186d762571d2c3dc1d0cc9069 100644 (file)
@@ -612,12 +612,14 @@ static int InitDirectSound( audio_output_t *p_aout )
      * 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
      * working */
+#ifndef VLC_WINSTORE_APP
     if( IDirectSound_SetCooperativeLevel( p_aout->sys->p_dsobject,
                                           GetDesktopWindow(),
                                           DSSCL_EXCLUSIVE) )
     {
         msg_Warn( p_aout, "cannot set direct sound cooperative level" );
     }
+#endif
     return VLC_SUCCESS;
 
  error: