https://github.com/videolan/vlc
Revision 189d43538940a70afaed241ed22e9f069cb44bd7 authored by Alexandre Janniaux on 25 January 2023, 13:47:54 UTC, committed by Thomas Guillem on 15 March 2023, 14:30:09 UTC
Move the AudioFormat vtable to a separate file and convenience library so as to use the AudioFormat vtable from device.c. The choice of a convenience library here is to compile the code only once but be able to use it from different locations, especially since it needs the vtable filled before using the associated function. The commit doesn't change audiotrack yet, as the goal is mostly to fix the dynamic build on Android, and thus duplicates part of the code from there. Some more changes would be needed to potentially supply the vtable as parameter and provides what's missing for audiotrack.c to use this convenience library instead.
1 parent ddb540c
Tip revision: 189d43538940a70afaed241ed22e9f069cb44bd7 authored by Alexandre Janniaux on 25 January 2023, 13:47:54 UTC
audio_output: android: move AudioFormat vtable
audio_output: android: move AudioFormat vtable
Tip revision: 189d435
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.0 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 |
Computing file changes ...