diff options
author | Arun Raghavan <arun.raghavan@collabora.co.uk> | 2011-03-09 20:50:25 +0530 |
---|---|---|
committer | Arun Raghavan <arun.raghavan@collabora.co.uk> | 2011-05-02 11:55:39 +0530 |
commit | 9a39a3df10c3874bf0b5b091f721a6d8ab8750a5 (patch) | |
tree | 8b1ebdc6b8a5a2315205107fd608dc83f3f562f1 /src | |
parent | 7aa84e82089a88a542f15cbf6f38c808b4f04db1 (diff) |
format: Add a type for DTS
Diffstat (limited to 'src')
-rw-r--r-- | src/pulse/format.c | 1 | ||||
-rw-r--r-- | src/pulse/format.h | 3 |
2 files changed, 4 insertions, 0 deletions
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 */ |