1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-04 14:12:10 +00:00
mpv/audio/out
wm4 5ffd6a9e9b encode: add locking
Since the AO will run in a thread, and there's lots of shared state with
encoding, we have to add locking.

One case this doesn't handle correctly are the encode_lavc_available()
calls in ao_lavc.c and vo_lavc.c. They don't do much (and usually only
to protect against doing --ao=lavc with normal playback), and changing
it would be a bit messy. So just leave them.
2014-03-09 00:19:35 +01:00
..
ao_alsa.c audio/out: make ao struct opaque 2014-03-09 00:19:31 +01:00
ao_coreaudio_properties.c ao_coreaudio: move to new log API 2013-08-01 20:32:49 +02:00
ao_coreaudio_properties.h audio/out: make ao struct opaque 2014-03-09 00:19:31 +01:00
ao_coreaudio_utils.c msg: rename mp_msg_log -> mp_msg 2013-12-21 22:13:04 +01:00
ao_coreaudio_utils.h audio/out: make ao struct opaque 2014-03-09 00:19:31 +01:00
ao_coreaudio.c audio/out: make ao struct opaque 2014-03-09 00:19:31 +01:00
ao_dsound.c audio/out: make ao struct opaque 2014-03-09 00:19:31 +01:00
ao_jack.c audio/out: make ao struct opaque 2014-03-09 00:19:31 +01:00
ao_lavc.c encode: add locking 2014-03-09 00:19:35 +01:00
ao_null.c ao_null: add option for simulated device speed 2014-03-09 00:19:34 +01:00
ao_openal.c audio/out: make ao struct opaque 2014-03-09 00:19:31 +01:00
ao_oss.c audio/out: make ao struct opaque 2014-03-09 00:19:31 +01:00
ao_pcm.c audio/out: make ao struct opaque 2014-03-09 00:19:31 +01:00
ao_portaudio.c audio/out: make ao struct opaque 2014-03-09 00:19:31 +01:00
ao_pulse.c audio/out: make ao struct opaque 2014-03-09 00:19:31 +01:00
ao_rsound.c audio/out: make ao struct opaque 2014-03-09 00:19:31 +01:00
ao_sdl.c audio/out: make ao struct opaque 2014-03-09 00:19:31 +01:00
ao_sndio.c audio/out: make ao struct opaque 2014-03-09 00:19:31 +01:00
ao_wasapi.c audio/out: make ao struct opaque 2014-03-09 00:19:31 +01:00
ao.c ao: remove opts field 2014-03-09 00:19:34 +01:00
ao.h audio/out: make ao struct opaque 2014-03-09 00:19:31 +01:00
internal.h ao: remove opts field 2014-03-09 00:19:34 +01:00