From 9a39a3df10c3874bf0b5b091f721a6d8ab8750a5 Mon Sep 17 00:00:00 2001 From: Arun Raghavan Date: Wed, 9 Mar 2011 20:50:25 +0530 Subject: format: Add a type for DTS --- src/pulse/format.c | 1 + src/pulse/format.h | 3 +++ 2 files changed, 4 insertions(+) (limited to 'src/pulse') diff --git a/src/pulse/format.c b/src/pulse/format.c index 0c5c24b1..e601d902 100644 --- a/src/pulse/format.c +++ b/src/pulse/format.c @@ -40,6 +40,7 @@ const char *pa_encoding_to_string(pa_encoding_t e) { [PA_ENCODING_AC3_IEC61937] = "ac3-iec61937", [PA_ENCODING_EAC3_IEC61937] = "eac3-iec61937", [PA_ENCODING_MPEG_IEC61937] = "mpeg-iec61937", + [PA_ENCODING_DTS_IEC61937] = "dts-iec61937", [PA_ENCODING_ANY] = "any", }; diff --git a/src/pulse/format.h b/src/pulse/format.h index 51c9426c..bd32ba92 100644 --- a/src/pulse/format.h +++ b/src/pulse/format.h @@ -46,6 +46,9 @@ typedef enum pa_encoding { PA_ENCODING_MPEG_IEC61937, /**< MPEG-1 or MPEG-2 (Part 3, not AAC) data encapsulated in IEC 61937 header/padding */ + PA_ENCODING_DTS_IEC61937, + /**< DTS data encapsulated in IEC 61937 header/padding */ + PA_ENCODING_MAX, /**< Valid encoding types must be less than this value */ -- cgit