[vlc-devel] [PATCH v2 0/8] aout plugins: non blocking drain

Thomas Guillem thomas at gllm.fr
Wed Mar 13 09:55:48 CET 2019


Changes since the first version:
 - Add back asynchronous drain for Alsa and Pulse

Not sure if what I did for Alsa is sane though...

Regards,
Thomas Guillem (7):
  waveout: remove useless drain
  alsa: setup known callbacks from Open()
  aout: split aout_DecFlush into flush and drain
  aout: use a seperate drain callback
  aout: the drain callback can now invalidate the stream
  aout: make the drain implementation asynchronous
  aout: assert that aout_DrainedReport is called correctly

 include/vlc_aout.h                      | 33 ++++++++++--
 modules/audio_output/adummy.c           |  4 +-
 modules/audio_output/alsa.c             | 70 +++++++++++++++++++++----
 modules/audio_output/amem.c             | 17 ++++--
 modules/audio_output/audiotrack.c       | 25 ++-------
 modules/audio_output/audiounit_ios.m    | 13 +----
 modules/audio_output/coreaudio_common.c | 37 +++----------
 modules/audio_output/coreaudio_common.h |  2 +-
 modules/audio_output/directsound.c      | 13 +----
 modules/audio_output/file.c             |  5 +-
 modules/audio_output/jack.c             | 12 +----
 modules/audio_output/kai.c              | 16 ++----
 modules/audio_output/mmdevice.c         |  4 +-
 modules/audio_output/mmdevice.h         | 14 +----
 modules/audio_output/opensles_android.c | 32 +++++------
 modules/audio_output/oss.c              |  8 ++-
 modules/audio_output/pulse.c            | 64 ++++++++++++++++------
 modules/audio_output/sndio.c            |  5 +-
 modules/audio_output/waveout.c          | 70 +++++++++++--------------
 modules/audio_output/winstore.c         |  4 +-
 src/audio_output/aout_internal.h        | 10 +++-
 src/audio_output/dec.c                  | 56 +++++++++++++++-----
 src/audio_output/output.c               |  7 +++
 src/input/decoder.c                     |  8 +--
 24 files changed, 298 insertions(+), 231 deletions(-)

-- 
2.20.1



More information about the vlc-devel mailing list