[MPlayer-cvslog] r36934 - trunk/gui/win32/preferences.c

ib subversion at mplayerhq.hu
Tue Feb 25 14:16:35 CET 2014


Author: ib
Date: Tue Feb 25 14:16:35 2014
New Revision: 36934

Log:
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.

Modified:
   trunk/gui/win32/preferences.c

Modified: trunk/gui/win32/preferences.c
==============================================================================
--- trunk/gui/win32/preferences.c	Tue Feb 25 07:22:29 2014	(r36933)
+++ trunk/gui/win32/preferences.c	Tue Feb 25 14:16:35 2014	(r36934)
@@ -373,11 +373,7 @@ static LRESULT CALLBACK PrefsWndProc(HWN
             {
                 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);


More information about the MPlayer-cvslog mailing list