# HG changeset patch # User ib # Date 1393334195 0 # Node ID 7df9dd22f23408cf6d6b298851c5c124614ee931 # Parent 4f59b1b06cf21a8a160a777a64217a1e242acea3 Don't set win32 as audio driver if none has been given. Select from the list of audio drivers instead. Having win32 as selected item in the combo box although this isn't used by MPlayer by default is confusing as well. Besides that, there seem to be issues with this driver when changing from or to it during playback. diff -r 4f59b1b06cf2 -r 7df9dd22f234 gui/win32/preferences.c --- a/gui/win32/preferences.c Tue Feb 25 06:22:29 2014 +0000 +++ b/gui/win32/preferences.c Tue Feb 25 13:16:35 2014 +0000 @@ -373,11 +373,7 @@ { const ao_info_t *info = audio_out_drivers[j++]->info; if(!audio_driver_list) - { - // FIXME: default priority (i.e. order in audio_out_drivers) should be fixed instead - // if win32 as default is really desirable - listSet(&audio_driver_list, "win32"/*(char *)info->short_name*/); - } + listSet(&audio_driver_list, (char *)info->short_name); SendDlgItemMessage(hwnd, ID_AO_DRIVER, CB_ADDSTRING, 0, (LPARAM) info->short_name); } SendMessage(ao_driver, WM_SETFONT, (WPARAM) GetStockObject(DEFAULT_GUI_FONT), 0);