[MPlayer-cvslog] r35938 - trunk/libao2/ao_win32.c

reimar subversion at mplayerhq.hu
Sun Mar 10 13:17:19 CET 2013


Author: reimar
Date: Sun Mar 10 13:17:19 2013
New Revision: 35938

Log:
Remove useless casts.

Modified:
   trunk/libao2/ao_win32.c

Modified: trunk/libao2/ao_win32.c
==============================================================================
--- trunk/libao2/ao_win32.c	Sun Mar 10 11:52:17 2013	(r35937)
+++ trunk/libao2/ao_win32.c	Sun Mar 10 13:17:19 2013	(r35938)
@@ -117,8 +117,8 @@ static int control(int cmd,void *arg)
 		{
 			ao_control_vol_t* vol = (ao_control_vol_t*)arg;
 			waveOutGetVolume(hWaveOut,&volume);
-			vol->left = (float)(LOWORD(volume)/655.35);
-			vol->right = (float)(HIWORD(volume)/655.35);
+			vol->left = LOWORD(volume)/655.35;
+			vol->right = HIWORD(volume)/655.35;
 			mp_msg(MSGT_AO, MSGL_DBG2,"ao_win32: volume left:%f volume right:%f\n",vol->left,vol->right);
 			return CONTROL_OK;
 		}


More information about the MPlayer-cvslog mailing list