[vlc-devel] [PATCH 0/9] aout changes for S/PDIF format
Thomas Guillem
thomas at gllm.fr
Wed Oct 5 18:37:43 CEST 2016
1: Wasapi and pulseaudio don't need a channel layout when doing pass-through,
so it's OK if it's not parsed from packetizers/demuxers.
2-3: Simpler way to handle S/PDIF sample sizes, just use bytes_per_frame (that
is 4 for most codecs, and 16 for TRUEHD). Pulseaudio and wasapi handle IEC61937
buffers the same way.
5-6: add TRUEHD/MLP support in wasapi
7-8: change channel handling in pulseaudio for S/PDIF
Thomas Guillem (9):
aout: channel mask can be 0
aout: return a valid bitspersample for S/PDIF
aout: change bytes_per_frame/i_frame_length for S/PDIF
aout: DecSilence: always use i_bytes_per_frame
wasapi: fix buffer_duration for hdmi formats
wasapi: add TRUEHD/MLP support
aout: TRUEHD and MLP are HDMI formats
pulse: do channel mapping only for PCM
pulse: channel mask can be 0
include/vlc_aout.h | 12 +++--
modules/audio_output/adummy.c | 4 +-
modules/audio_output/alsa.c | 4 +-
modules/audio_output/auhal.c | 6 +--
modules/audio_output/directsound.c | 4 +-
modules/audio_output/file.c | 4 +-
modules/audio_output/oss.c | 4 +-
modules/audio_output/pulse.c | 94 ++++++++++++++++++++------------------
modules/audio_output/wasapi.c | 27 +++++++++--
modules/audio_output/waveout.c | 6 +--
src/audio_output/common.c | 9 +++-
src/audio_output/dec.c | 9 ++--
12 files changed, 106 insertions(+), 77 deletions(-)
--
2.9.3
More information about the vlc-devel
mailing list