Initial commit
[gupnp:gupnp-dlna.git] / data / wma.xml
1 <?xml version="1.0"?>
2
3 <dlna-profiles>
4   <restrictions>
5     <restriction id="WMA" type="audio">
6       <field name="name" type="string">
7         <value>audio/x-wma</value>
8       </field>
9     </restriction>
10
11     <restriction id="WMA-ASF" type="container">
12       <field name="name" type="string">
13         <value>video/x-ms-asf</value>
14       </field>
15     </restriction>
16   </restrictions>
17
18   <dlna-profile name="WMABASE" mime="audio/x-ms-wma">
19     <parent name="WMA-ASF" />
20
21     <restriction type="audio">
22       <parent name="WMA" />
23
24       <field name="wmaversion" type="int">
25         <value>1</value>
26         <value>2</value>
27       </field>
28       <field name="rate" type="int">
29         <range min="0" max="48000" />
30       </field>
31       <field name="bitrate" type="int">
32         <range min="1" max="192999" />
33       </field>
34     </restriction>
35   </dlna-profile>
36
37   <dlna-profile name="WMAFULL" mime="audio/x-ms-wma">
38     <parent name="WMA-ASF" />
39
40     <restriction type="audio">
41       <parent name="WMA" />
42
43       <field name="wmaversion" type="int">
44         <value>1</value>
45         <value>2</value>
46       </field>
47       <field name="rate" type="int">
48         <range min="0" max="48000" />
49       </field>
50     </restriction>
51   </dlna-profile>
52
53   <dlna-profile name="WMAPRO" mime="audio/x-ms-wma">
54     <parent name="WMA-ASF" />
55
56     <restriction type="audio">
57       <parent name="WMA" />
58
59       <field name="wmaversion" type="int">
60         <value>3</value>
61       </field>
62       <field name="rate" type="int">
63         <range min="0" max="96000" />
64       </field>
65       <field name="channels" type="int">
66         <!-- FIXME: 8 = 7.1 - we don't have a way to check for LFE channels -->
67         <range min="1" max="8" />
68       </field>
69       <field name="bitrate" type="int">
70         <range min="1" max="1500000" />
71       </field>
72     </restriction>
73   </dlna-profile>
74 </dlna-profiles>