[gupnp-dlna] xml: Add EAC3 audio format



commit 740e96882f7ef6f14212beda192244da1f44ad3f
Author: Jens Georg <mail jensge org>
Date:   Tue Feb 14 16:02:59 2012 +0200

    xml: Add EAC3 audio format

 data/ac3.xml |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)
---
diff --git a/data/ac3.xml b/data/ac3.xml
index 5646818..cf16b63 100644
--- a/data/ac3.xml
+++ b/data/ac3.xml
@@ -2,6 +2,24 @@
 
 <dlna-profiles>
   <restrictions>
+    <restriction id="EAC3" type="audio">
+      <field name="name" type="string">
+        <value>audio/x-eac3</value>
+      </field>
+      <field name="rate" type="int">
+        <value>32000</value>
+        <value>44100</value>
+        <value>48000</value>
+      </field>
+      <field name="channels" type="int">
+        <!-- XXX: need to verify channel mapping -->
+        <range min="1" max="6"/>
+      </field>
+      <field name="bitrate" type="int">
+        <range min="32000" max="6144000"/>
+      </field>
+    </restriction>
+
     <restriction id="AC3" type="audio">
       <field name="name" type="string">
 	<value>audio/x-ac3</value>
@@ -24,4 +42,8 @@
   <dlna-profile name="AC3" mime="audio/vnd.dolby.dd-raw">
     <parent name="AC3" />
   </dlna-profile>
+
+  <dlna-profile name="EAC3" mime="audio/eac3">
+    <parent name="EAC3" />
+  </dlna-profile>
 </dlna-profiles>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]