comparison libao2/ao_win32.c @ 35844:996a7f82f859

Remove useless casts.
author reimar
date Sun, 10 Mar 2013 12:17:19 +0000
parents 28577f4fe632
children
comparison
equal deleted inserted replaced
35843:6085f26a29c1 35844:996a7f82f859
115 { 115 {
116 case AOCONTROL_GET_VOLUME: 116 case AOCONTROL_GET_VOLUME:
117 { 117 {
118 ao_control_vol_t* vol = (ao_control_vol_t*)arg; 118 ao_control_vol_t* vol = (ao_control_vol_t*)arg;
119 waveOutGetVolume(hWaveOut,&volume); 119 waveOutGetVolume(hWaveOut,&volume);
120 vol->left = (float)(LOWORD(volume)/655.35); 120 vol->left = LOWORD(volume)/655.35;
121 vol->right = (float)(HIWORD(volume)/655.35); 121 vol->right = HIWORD(volume)/655.35;
122 mp_msg(MSGT_AO, MSGL_DBG2,"ao_win32: volume left:%f volume right:%f\n",vol->left,vol->right); 122 mp_msg(MSGT_AO, MSGL_DBG2,"ao_win32: volume left:%f volume right:%f\n",vol->left,vol->right);
123 return CONTROL_OK; 123 return CONTROL_OK;
124 } 124 }
125 case AOCONTROL_SET_VOLUME: 125 case AOCONTROL_SET_VOLUME:
126 { 126 {