diff libao2/ao_win32.c @ 35844:996a7f82f859

Remove useless casts.
author reimar
date Sun, 10 Mar 2013 12:17:19 +0000
parents 28577f4fe632
children
line wrap: on
line diff
--- a/libao2/ao_win32.c	Sun Mar 10 10:52:17 2013 +0000
+++ b/libao2/ao_win32.c	Sun Mar 10 12:17:19 2013 +0000
@@ -117,8 +117,8 @@
 		{
 			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;
 		}