https://github.com/videolan/vlc
Revision 4c3538533e33379f216fbecb5accbd99893ef8b8 authored by Thomas Guillem on 10 March 2023, 14:06:01 UTC, committed by Jean-Baptiste Kempf on 12 March 2023, 09:26:44 UTC
Since flush is not working.

There are 2 main issues:

 - AAudioStream_getTimestamp() could fail from Flush(), resulting in the
   impossibility to report a correct timing. As the doc says:
   "TODO review Frame counters are not reset by a flush", and we need a point
   of comparison after a flush.

 - Some devices (seen on The Galaxy S22 Ultra API Level 31) can't report
   a timestamp once the stream is flushed, resulting in the
   impossibility to report a correct timing.

Now, the whole Flush() function take between 10ms and 25ms (depending on the
device).

Fixes #27917
1 parent c956314
History
Tip revision: 4c3538533e33379f216fbecb5accbd99893ef8b8 authored by Thomas Guillem on 10 March 2023, 14:06:01 UTC
aaudio: restart stream when flushing
Tip revision: 4c35385
File Mode Size
autotools
bin
buildsystem
compat
contrib
doc
extras
include
lib
m4
modules
po
share
src
test
.gitignore -rw-r--r-- 471 bytes
.mailmap -rw-r--r-- 7.1 KB
AUTHORS -rw-r--r-- 18.7 KB
COPYING -rw-r--r-- 17.7 KB
COPYING.LIB -rw-r--r-- 25.9 KB
INSTALL -rw-r--r-- 1.4 KB
Makefile.am -rw-r--r-- 6.5 KB
NEWS -rw-r--r-- 202.7 KB
README.md -rw-r--r-- 5.6 KB
THANKS -rw-r--r-- 5.5 KB
bootstrap -rwxr-xr-x 1.8 KB
config.h.meson -rw-r--r-- 15.5 KB
configure.ac -rw-r--r-- 140.3 KB
make-alias -rwxr-xr-x 299 bytes
meson.build -rw-r--r-- 32.2 KB
meson_options.txt -rw-r--r-- 14.3 KB

README.md

back to top