[vlc-devel] [PATCH 00/10] DTS-HD passthrough
Thomas Guillem
thomas at gllm.fr
Wed Jan 18 09:19:59 CET 2017
Hello,
Four set of fixes to add DTS-HD (and other DTS extensions) passthrough support.
Patches 01-04 add DTS-HD support in the tospdif converter, the code was adapted
from the ffmpeg and libav project.
The Patch 05 modify the DTS packetizer to not skip DTS substreams (we include
the whole DTS core + substream into one block). As we send a complete DTS
block, avcodec is now able to decode up to 8 channels.
Patches 06-10 add support for DTS-HD in wasapi and pulseaudio (Apple/Android
will come soon). We are able to transmit DTS-HDMA 7.1 on both systems. There is
a limitation with pulse audio that is not able to transmit at the 768kHz IEC958
rate (but it's possible via alsa). Transmitting at this rate is needed for
DTS-HDMA @ 192kHz or for DTS-X (I could not test DTS-X since I don't have an
amplifier capable, but it should work on Windows).
Regards,
Thomas Guillem (10):
converter/tospdif: use an anonymous union
converter/tospdif: rename write_16
converter/tospdif: always parse dts header
converter/tospdif: handle dts-hd
packetizer/dts: don't skip DTS substream blocks
wasapi: set max buffer duration to 2 seconds in exclusive mode
wasapi: handle DTS-HD
wasapi: fix TRUEHD output rate
pulse: modify fmt only in case of success
pulse: handle DTS-HD
modules/audio_filter/converter/tospdif.c | 172 +++++++++++++++++++++++++------
modules/audio_output/pulse.c | 94 +++++++++++------
modules/audio_output/wasapi.c | 59 +++++++++--
modules/packetizer/dts.c | 48 ++++++---
4 files changed, 281 insertions(+), 92 deletions(-)
--
2.11.0
More information about the vlc-devel
mailing list