# HG changeset patch # User diego # Date 1041570644 0 # Node ID 561aa9c850f7ad77efd19d2a7f0b42dbe91118de # Parent 7cfadbe294bf4997cdba66a01eebda21645d3cbc Rearrange the vo and ao driver order to prefer the native drivers and give a better out of the box experience on Cygwin. diff -r 7cfadbe294bf -r 561aa9c850f7 libao2/audio_out.c --- a/libao2/audio_out.c Thu Jan 02 23:57:38 2003 +0000 +++ b/libao2/audio_out.c Fri Jan 03 05:10:44 2003 +0000 @@ -60,6 +60,9 @@ &audio_out_dxr2, #endif // native: +#ifdef HAVE_WIN32WAVEOUT + &audio_out_win32, +#endif #ifdef USE_OSS_AUDIO &audio_out_oss, #endif @@ -75,9 +78,6 @@ #ifdef USE_SUN_AUDIO &audio_out_sun, #endif -#ifdef HAVE_WIN32WAVEOUT - &audio_out_win32, -#endif // wrappers: #ifdef USE_ARTS &audio_out_arts, diff -r 7cfadbe294bf -r 561aa9c850f7 libvo/video_out.c --- a/libvo/video_out.c Thu Jan 02 23:57:38 2003 +0000 +++ b/libvo/video_out.c Fri Jan 03 05:10:44 2003 +0000 @@ -102,6 +102,9 @@ vo_functions_t* video_out_drivers[] = { +#ifdef HAVE_DIRECTX + &video_out_directx, +#endif #ifdef HAVE_XMGA &video_out_xmga, #endif @@ -134,9 +137,6 @@ #ifdef HAVE_SDL &video_out_sdl, #endif -#ifdef HAVE_DIRECTX - &video_out_directx, -#endif #ifdef HAVE_GGI &video_out_ggi, #endif