mpv/audio/out
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
..
ao.c
ao.h
ao_alsa.c ao_alsa: assume device lost if we couldn't recover after 10 attempts 2024-09-14 14:08:30 +02:00
ao_audiotrack.c ao_audiotrack: make audiotrack jni multi-instance and multi-thread safe 2024-11-06 18:54:50 +01:00
ao_audiounit.m ao: add eof, pad_silence, and blocking arguments for ao_read_data 2024-05-25 22:52:45 +02:00
ao_avfoundation.m ao_avfoundation: guard features only available on macOS 11.3 and 12 2024-06-18 19:30:07 +02:00
ao_coreaudio.c ao_coreaudio: fix CoreAudio deprecations 2024-11-05 18:34:15 +01:00
ao_coreaudio_chmap.c ao_coreaudio_chmap: fix shadowed variable 2024-06-05 19:07:58 +02:00
ao_coreaudio_chmap.h
ao_coreaudio_exclusive.c ao_coreaudio: fix CoreAudio deprecations 2024-11-05 18:34:15 +01:00
ao_coreaudio_properties.c ao_coreaudio: fix CoreAudio deprecations 2024-11-05 18:34:15 +01:00
ao_coreaudio_properties.h
ao_coreaudio_utils.c ao_coreaudio: fix CoreAudio deprecations 2024-11-05 18:34:15 +01:00
ao_coreaudio_utils.h osdep: remove semaphore-mac 2024-10-12 17:26:39 +02:00
ao_jack.c ao: add eof, pad_silence, and blocking arguments for ao_read_data 2024-05-25 22:52:45 +02:00
ao_lavc.c various: remove av channel layout check 2024-06-22 16:12:14 +02:00
ao_null.c
ao_openal.c
ao_opensles.c ao: add eof, pad_silence, and blocking arguments for ao_read_data 2024-05-25 22:52:45 +02:00
ao_oss.c
ao_pcm.c ao_pcm: fix incorrect win32 check 2024-06-05 19:16:35 +02:00
ao_pipewire.c ao_pipewire: bump minimum libpipewire version to 0.3.57 2024-07-08 13:33:32 +00:00
ao_pulse.c
ao_sdl.c ao: add eof, pad_silence, and blocking arguments for ao_read_data 2024-05-25 22:52:45 +02:00
ao_sndio.c
ao_wasapi.c
ao_wasapi.h
ao_wasapi_changenotify.c ao_wasapi: don't limit the scope of execution context 2024-06-07 19:41:28 +02:00
ao_wasapi_utils.c ao_wasapi: don't limit the scope of execution context 2024-06-07 19:41:28 +02:00
buffer.c ao: don't add buffer length to timeout twice 2024-07-10 19:32:36 +02:00
internal.h ao: add ao_stop_streaming 2024-05-25 22:52:45 +02:00