Changes

no edit summary
Line 1: Line 1: −
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
+
<pre class="header-style">This constraint allows or prevents a macro/feature from running based on a specific volume stream level.</pre>
This constraint can be used to allow a trigger to fire based on the volume level of a specific audio stream.
+
 
</pre>
+
''' Options '''
 +
 
 +
* '''Stream''' - Media, ringer, notification, alarm, etc.
 +
* '''Above/Below''' - Compare against a target level
 +
 
 +
''' Example '''
 +
 
 +
''Example 1: Auto start media playing only if media volume is not very high (to protect ears)''
 +
  <pre class="trigger-style">Triggers
 +
 
 +
Headphones Insert/Removed - Connected</pre>
 +
  <pre class="action-style">Actions
 +
 
 +
Control Media (Play)</pre>
 +
  <pre class="constraint-style">Constraints
 +
 
 +
Volume Level - Media <= 70%</pre>
 +
 
 +
''' See Also '''
 +
 
 +
* [[Constraint: Ringer Volume|Ringer Volume Constraint]]