Browse Source

opensles_android: convert hardcoded value using MS_FROM_VLC_TICK()

pull/72/head
Steve Lhomme 8 years ago
parent
commit
3153a2238c
  1. 2
      modules/audio_output/opensles_android.c

2
modules/audio_output/opensles_android.c

@ -480,7 +480,7 @@ static int Start(audio_output_t *aout, audio_sample_format_t *restrict fmt)
fmt->i_physical_channels = AOUT_CHAN_LEFT | AOUT_CHAN_RIGHT;
fmt->channel_type = AUDIO_CHANNEL_TYPE_BITMAP;
SetPositionUpdatePeriod(sys->playerPlay, AOUT_MIN_PREPARE_TIME * 1000 / CLOCK_FREQ);
SetPositionUpdatePeriod(sys->playerPlay, MS_FROM_VLC_TICK(AOUT_MIN_PREPARE_TIME));
aout_FormatPrepare(fmt);

Loading…
Cancel
Save