[pulseaudio-discuss] [PATCH] add support for MPEG-2 AAC pass-through
atsukada at users.sourceforge.net
atsukada at users.sourceforge.net
Mon Feb 11 06:32:09 PST 2013
From: Akihiro Tsukada <atsukada at users.sourceforge.net>
Some S/PDIF receivers have AAC decoder.
Only MPEG2 AAC is added,
as I don't have MPEG-4 AAC decoder and cannot test it.
---
src/pulse/format.c | 1 +
src/pulse/format.h | 3 +++
2 files changed, 4 insertions(+)
diff --git a/src/pulse/format.c b/src/pulse/format.c
index 542d119..703c1ef 100644
--- a/src/pulse/format.c
+++ b/src/pulse/format.c
@@ -47,6 +47,7 @@ static const char* const _encoding_str_table[]= {
[PA_ENCODING_EAC3_IEC61937] = "eac3-iec61937",
[PA_ENCODING_MPEG_IEC61937] = "mpeg-iec61937",
[PA_ENCODING_DTS_IEC61937] = "dts-iec61937",
+ [PA_ENCODING_MPEG2_AAC_IEC61937] = "mpeg2-aac-iec61937",
[PA_ENCODING_ANY] = "any",
};
diff --git a/src/pulse/format.h b/src/pulse/format.h
index 4694773..ec0cab9 100644
--- a/src/pulse/format.h
+++ b/src/pulse/format.h
@@ -55,6 +55,9 @@ typedef enum pa_encoding {
PA_ENCODING_DTS_IEC61937,
/**< DTS data encapsulated in IEC 61937 header/padding */
+ PA_ENCODING_MPEG2_AAC_IEC61937,
+ /**< MPEG-2 AAC data encapsulated in IEC 61937 header/padding */
+
PA_ENCODING_MAX,
/**< Valid encoding types must be less than this value */
--
1.7.11.7
More information about the pulseaudio-discuss
mailing list