Commit 1f85b215 authored by Gildas Bazin's avatar Gildas Bazin

* modules/audio_output/waveout.c: fixed typo.

parent dfa3b2c3
...@@ -296,8 +296,8 @@ static int Open( vlc_object_t *p_this ) ...@@ -296,8 +296,8 @@ static int Open( vlc_object_t *p_this )
/* Check for hardware volume support */ /* Check for hardware volume support */
if( waveOutGetDevCaps( (UINT_PTR)p_aout->output.p_sys->h_waveout, if( waveOutGetDevCaps( (UINT_PTR)p_aout->output.p_sys->h_waveout,
&wocaps, sizeof(wocaps) == MMSYSERR_NOERROR ) && &wocaps, sizeof(wocaps) ) == MMSYSERR_NOERROR &&
wocaps.dwSupport == WAVECAPS_VOLUME ) wocaps.dwSupport & WAVECAPS_VOLUME )
{ {
DWORD i_dummy; DWORD i_dummy;
if( waveOutGetVolume( p_aout->output.p_sys->h_waveout, &i_dummy ) if( waveOutGetVolume( p_aout->output.p_sys->h_waveout, &i_dummy )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment