[vlc-devel] [PATCH 00/16] Add ambisonics support

Thomas Guillem thomas at gllm.fr
Fri Jul 7 16:02:46 CEST 2017


This set of patches need the previous one called "Support input with a high
number of channels".

This set adds:

 - A new attribute in audio_format_t: i_channels_type. This channel type can
   be physical (the default and current one), or ambisonics.

 - A new type of audio filter: "audio renderer" that will convert from one
   channel_type to an other.

 - The spatialaudio "audio renderer" module and contribs dependencies that will
   do the ambisonics conversion.

Best regards,
Thomas Guillem.


Adrien Maglo (10):
  ES: add a property to audio_format_t for Ambisonics support
  ES: similar audio format have the same channel_type
  aout: display "Ambisonics" and the order for the channel format
  codec: araw: keep the input channel_type
  codec: faad: keep the input channel_type
  codec: avcodec: keep the input channel_type
  contrib: add spatialaudio
  extras: add a default HRTF stored as a resource
  spatialaudio: add an Ambisonics to binaural and array of speaker
    converter
  mp4: read and save ambisonics metadata from the Google specification

Thomas Guillem (6):
  aout: handle Ambisonics conversions
  aout: handle viewpoint change
  input: pass new viewpoints to the aout
  pulse: factor pa_format_info initialisation
  pulse: handle AUDIO_CHANNELS_TYPE_AMBISONICS
  wasapi: handle AUDIO_CHANNELS_TYPE_AMBISONICS

 configure.ac                                       |   5 +
 contrib/src/mysofa/rules.mak                       |  28 ++
 contrib/src/spatialaudio/rules.mak                 |  29 ++
 extras/package/macosx/package.mak                  |   2 +
 extras/package/win32/package.mak                   |   3 +
 include/vlc_aout.h                                 |   2 +
 include/vlc_es.h                                   |  14 +
 include/vlc_filter.h                               |  15 +
 modules/MODULES_LIST                               |   1 +
 modules/audio_filter/Makefile.am                   |   9 +
 .../audio_filter/channel_mixer/spatialaudio.cpp    | 530 +++++++++++++++++++++
 modules/audio_output/pulse.c                       | 120 ++++-
 modules/audio_output/wasapi.c                      |  21 +-
 modules/codec/araw.c                               |   1 +
 modules/codec/avcodec/audio.c                      |   1 +
 modules/codec/faad.c                               |   1 +
 modules/demux/mp4/essetup.c                        |   5 +
 modules/demux/mp4/libmp4.c                         |  27 ++
 modules/demux/mp4/libmp4.h                         |  12 +
 share/hrtfs/dodeca_and_7channel_FHK_HRTF.sofa      | Bin 0 -> 92418 bytes
 src/audio_output/aout_internal.h                   |  11 +
 src/audio_output/common.c                          |   6 +
 src/audio_output/dec.c                             |  27 +-
 src/audio_output/filters.c                         |  44 +-
 src/audio_output/output.c                          |  14 +
 src/input/input.c                                  |   9 +
 src/libvlccore.sym                                 |   1 +
 src/misc/es_format.c                               |   3 +-
 28 files changed, 914 insertions(+), 27 deletions(-)
 create mode 100644 contrib/src/mysofa/rules.mak
 create mode 100644 contrib/src/spatialaudio/rules.mak
 create mode 100644 modules/audio_filter/channel_mixer/spatialaudio.cpp
 create mode 100644 share/hrtfs/dodeca_and_7channel_FHK_HRTF.sofa

-- 
2.11.0



More information about the vlc-devel mailing list