1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-24 15:52:25 +00:00
mpv/audio
davince 46fe3cded0 ao_audiotrack: make audiotrack jni multi-instance and multi-thread safe
The detailed issue is here:
#15212

problem: Since The AudioTrack is not an mpv instance level but a global object, it cannot support multiple mpv instances at the same time. For example, if you create two instances and then destroy one of them, the other instance may crash.

Add jni usage count to fix this.
2024-11-06 18:54:50 +01:00
..
decode various: remove global.h inclusion where not needed 2024-10-01 12:23:44 +02:00
filter various: remove av channel layout check 2024-06-22 16:12:14 +02:00
out ao_audiotrack: make audiotrack jni multi-instance and multi-thread safe 2024-11-06 18:54:50 +01:00
aframe.c various: remove av channel layout check 2024-06-22 16:12:14 +02:00
aframe.h ad_lavc: strip non-normalized floats 2022-09-02 01:27:31 +02:00
chmap_avchannel.c audio: add AVChannelLayout helpers to convert from/to mp_chmap 2022-06-12 21:05:59 +03:00
chmap_avchannel.h various: remove av channel layout check 2024-06-22 16:12:14 +02:00
chmap_sel.c
chmap_sel.h
chmap.c chmap: mp_image_pool: drop stale mentions of Libav in comments 2024-01-20 16:10:20 +00:00
chmap.h audio/chmap: support up to 64 channels 2023-09-29 02:35:10 +00:00
fmt-conversion.c
fmt-conversion.h
format.c audio/format: fix Type 'struct entry' has incompatible definitions in different translation units 2022-10-23 14:57:24 +02:00
format.h