[vlc-devel] [PATCH V2 0/8] aout: add exclusive mode

Thomas Guillem thomas at gllm.fr
Fri Nov 8 18:13:06 CET 2019


Hello,

Branch available here: https://code.videolan.org/tguillem/vlc/commits/exclusive/3

Change since the last set (cf.
https://mailman.videolan.org/pipermail/vlc-devel/2019-October/129011.html)

 - Moved the 'wasapi-exclusive' option to 'aout-exclusive'
 - The 'aout-exclusive' option accepts 3 values: 'on', 'off', 'forced'
   - 'on' will disable any filters/resampler/converter and will work only if
     the input and output formats are compatible.
   - 'forced' will disable any filters/resampler but will try to adapt the
     input format to the output format by adding a converter.
   - 'off' will act as normal


Remarks:
 - 'forced' is maybe not a good name. Do you have a better name ?
 - TODO: I should make sure that the S24 -> S32 -> S24 conversion is bit exact.

Best regards and have a good VDD,
Thomas

Thomas Guillem (8):
  aout: add exclusive argument in plugins start cb
  mmdevice: forward exclusive argument to streams
  aout: add exclusive_mode support
  wasapi: refactor
  wasapi: respect IsFormatSupported documentation
  wasapi: don't overwrite shared_mode
  wasapi: add 24bits support
  wasapi: handle exclusive mode

 include/vlc_aout.h                      |  16 +-
 modules/audio_output/adummy.c           |   5 +-
 modules/audio_output/alsa.c             |   5 +-
 modules/audio_output/amem.c             |   5 +-
 modules/audio_output/audiotrack.c       |   9 +-
 modules/audio_output/audiounit_ios.m    |   6 +-
 modules/audio_output/auhal.c            |   5 +-
 modules/audio_output/directsound.c      |  15 +-
 modules/audio_output/file.c             |   5 +-
 modules/audio_output/jack.c             |   5 +-
 modules/audio_output/kai.c              |   5 +-
 modules/audio_output/mmdevice.c         |  11 +-
 modules/audio_output/mmdevice.h         |   3 +-
 modules/audio_output/opensles_android.c |   6 +-
 modules/audio_output/oss.c              |   5 +-
 modules/audio_output/pulse.c            |   6 +-
 modules/audio_output/sndio.c            |   5 +-
 modules/audio_output/wasapi.c           | 224 +++++++++++++++++++++---
 modules/audio_output/waveout.c          |   5 +-
 modules/audio_output/winstore.c         |   6 +-
 modules/video_output/decklink.cpp       |   5 +-
 src/audio_output/aout_internal.h        |   1 +
 src/audio_output/dec.c                  |   2 +
 src/audio_output/filters.c              |  85 +++++----
 src/audio_output/output.c               |  15 +-
 src/libvlc-module.c                     |  19 ++
 26 files changed, 385 insertions(+), 94 deletions(-)

-- 
2.20.1



More information about the vlc-devel mailing list