[WIN32] changed: use the new settings system instead of hardcoded values.
[vuplus_xbmc] / system / settings / win32.xml
index 76bc2bf..1e0a97b 100644 (file)
         </setting>
       </group>
     </category>
+    <category id="audiooutput" label="772" help="36360">
+      <group id="2">
+        <setting id="audiooutput.audiodevice" type="string" label="545" help="36371">
+          <level>2</level>
+          <default>WASAPI:default</default> <!-- will be properly set on startup -->
+          <constraints>
+            <options>audiodevices</options>
+          </constraints>
+          <control type="spinner" format="string" />
+        </setting>
+        <setting id="audiooutput.passthroughdevice" type="string" label="546" help="36372">
+          <level>2</level>
+          <default>WASAPI:default</default> <!-- will be properly set on startup -->
+          <constraints>
+            <options>audiodevicespassthrough</options>
+          </constraints>
+          <dependencies>
+            <dependency type="enable">
+              <or>
+                <condition setting="audiooutput.mode">1</condition> <!-- AUDIO_IEC958 -->
+                <condition setting="audiooutput.mode">2</condition> <!-- AUDIO_HDMI -->
+              </or>
+            </dependency>
+          </dependencies>
+          <control type="spinner" format="string" />
+        </setting>
+      </group>
+    </category>
   </section>
 </settings>