[vlc-commits] waveout: replace hardcoded timer interval value by a VLC_TICK expression
Steve Lhomme
git at videolan.org
Thu Jul 5 15:04:32 CEST 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Jul 5 14:38:21 2018 +0200| [06f2ea70efa345a5f9719969ffaaf232fc8209c8] | committer: Steve Lhomme
waveout: replace hardcoded timer interval value by a VLC_TICK expression
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=06f2ea70efa345a5f9719969ffaaf232fc8209c8
---
modules/audio_output/waveout.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/audio_output/waveout.c b/modules/audio_output/waveout.c
index 85ad9fbb13..a79d5d9ed0 100644
--- a/modules/audio_output/waveout.c
+++ b/modules/audio_output/waveout.c
@@ -901,7 +901,7 @@ static void WaveOutPause( audio_output_t * p_aout, bool pause, vlc_tick_t date)
if(pause)
{
- vlc_timer_schedule( sys->volume_poll_timer, false, 1, 200000 );
+ vlc_timer_schedule( sys->volume_poll_timer, false, 1, VLC_TICK_FROM_MS(200) );
res = waveOutPause( sys->h_waveout );
if( res != MMSYSERR_NOERROR )
{
More information about the vlc-commits
mailing list