[pulseaudio-commits] src/pulse

Tanu Kaskinen tanuk at kemper.freedesktop.org
Sat Feb 16 11:37:09 PST 2013


 src/pulse/format.c |    1 +
 src/pulse/format.h |    3 +++
 2 files changed, 4 insertions(+)

New commits:
commit 53807e4a284199e105bdaa891017d033e8ad8b0b
Author: Akihiro Tsukada <atsukada at users.sourceforge.net>
Date:   Mon Feb 11 23:32:09 2013 +0900

    add support for MPEG-2 AAC pass-through
    
    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.

diff --git a/src/pulse/format.c b/src/pulse/format.c
index b909eea..05a99a2 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..f59408e 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. \since 4.0 */
+
     PA_ENCODING_MAX,
     /**< Valid encoding types must be less than this value */
 



More information about the pulseaudio-commits mailing list