Permalink
Browse files

AE: only display setting for EAC3 if sink supports it

  • Loading branch information...
1 parent b6b5cee commit 86076f33a21399ebfe5e7d7d1681001d1974b3a5 @FernetMenta FernetMenta committed Mar 6, 2014
Showing with 6 additions and 1 deletion.
  1. +6 −1 system/settings/settings.xml
@@ -2534,7 +2534,12 @@
<level>2</level>
<default>false</default>
<dependencies>
- <dependency type="visible" on="property" name="aesettingvisible" setting="audiooutput.config">audiooutput.passthrough</dependency>
+ <dependency type="visible">
+ <and>
+ <condition on="property" name="aesettingvisible" setting="audiooutput.config">audiooutput.eac3passthrough</condition>
+ <condition on="property" name="aesettingvisible" setting="audiooutput.passthroughdevice">audiooutput.eac3passthrough</condition>
+ </and>
+ </dependency>
<dependency type="enable" setting="audiooutput.passthrough" operator="is">true</dependency>
</dependencies>
<control type="toggle" />

0 comments on commit 86076f3

Please sign in to comment.