[vlc-devel] [PATCH 0/9] EAC3 over S/PDIF

Thomas Guillem thomas at gllm.fr
Thu Sep 1 10:54:07 CEST 2016

In this set of patches I rewrote the A52 header parser and heavily modified the
S/PDIF converter to cope with EAC3 needs. Indeed, with EAC3, we may have to
gather more than one blocks in a S/PDIF frame. The first 2 patches are needed
because of that.

I would appreciate some inputs about the second patch. Should we change
pf_*_filter to differentiate an error from an absence of block ?

This is only tested with Pulse Audio (for now).

 - Test and fix on Windows (Wasapi/mmdevice)
 - Test and fix on Android
 - Add support for other audio formats like Dolby TRUEHD, DTS extensions...

Thomas Guillem (9):
  audio_output: fix potential null-dereference
  RFC: audio_output: fix buffers_lost count
  aout: VLC_CODEC_EAC3 is a S/PDIF format
  pulse: add EAC3 support
  packetizer/a52: rewrite header parser
  packetizer/a52: add EAC3 support
  converter: spdif: reorder code
  converter: spdif: improve header parser
  converter: spdif: add EAC3 support

 include/vlc_aout.h                       |   3 +-
 modules/audio_filter/converter/tospdif.c | 293 +++++++++++++++++++++++--------
 modules/audio_output/pulse.c             |   6 +-
 modules/packetizer/a52.c                 |  15 +-
 modules/packetizer/a52.h                 | 221 ++++++++++++++---------
 src/audio_output/aout_internal.h         |   2 +
 src/audio_output/dec.c                   |  20 ++-
 src/audio_output/filters.c               |   2 +
 8 files changed, 397 insertions(+), 165 deletions(-)


More information about the vlc-devel mailing list