Page 1 of 1

libvlc_audio_set_delay does not work well with libvlc_media_player_set_time

Posted: 15 Jun 2023 20:55
by sanmool
The steps to reproduce is the following,
1. Play video
2. Set audio delay +2 seconds
libvlc_audio_set_delay(media_player_pointer, 2000)
3. Set time to another position
libvlc_media_player_set_time(...)
Then the audio does not play immediately. I could not hear the audio for the first few seconds. After few seconds, the audio plays as expected.
If I set audio delay to -2 seconds, the audio plays immediately as expected.