From e3df2184d436da22a683ae3904d50e7e4fb15946 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Tue, 29 Dec 2015 09:46:40 +0100 Subject: [PATCH] codec_c: add specializations for DTS:X and Atmos-in-TrueHD --- src/common/codec.cpp | 3 +++ src/common/codec.h | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/common/codec.cpp b/src/common/codec.cpp index 0a10989cd..56da9bbbf 100644 --- a/src/common/codec.cpp +++ b/src/common/codec.cpp @@ -77,10 +77,13 @@ codec_c::initialize() { ms_specialization_descriptions.emplace(specialization_e::dts_express, "DTS Express"); ms_specialization_descriptions.emplace(specialization_e::dts_es, "DTS-ES"); ms_specialization_descriptions.emplace(specialization_e::dts_96_24, "DTS 96/24"); + ms_specialization_descriptions.emplace(specialization_e::dts_x, "DTS:X"); ms_specialization_descriptions.emplace(specialization_e::mpeg_1_2_layer_1, "MP1"); ms_specialization_descriptions.emplace(specialization_e::mpeg_1_2_layer_2, "MP2"); ms_specialization_descriptions.emplace(specialization_e::mpeg_1_2_layer_3, "MP3"); + + ms_specialization_descriptions.emplace(specialization_e::truehd_atmos, "TrueHD Atmos"); } codec_c const diff --git a/src/common/codec.h b/src/common/codec.h index 87afe3aa9..5cd157950 100644 --- a/src/common/codec.h +++ b/src/common/codec.h @@ -147,10 +147,13 @@ public: , dts_express , dts_es , dts_96_24 + , dts_x , mpeg_1_2_layer_1 , mpeg_1_2_layer_2 , mpeg_1_2_layer_3 + + , truehd_atmos }; private: