aboutsummaryrefslogtreecommitdiff
path: root/data/com.canonical.indicator.sound.gschema.xml
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2015-08-06 22:11:56 -0500
committerCharles Kerr <charles.kerr@canonical.com>2015-08-06 22:11:56 -0500
commitc7c00db856ca936559c650ef695452f90472d35e (patch)
treee0183056f3f6b4e7f4f9bebf0b53e19b52a085ea /data/com.canonical.indicator.sound.gschema.xml
parent5a30dde1f09e55729ec0b0b7ed451f15c6e635fa (diff)
downloadayatana-indicator-sound-c7c00db856ca936559c650ef695452f90472d35e.tar.gz
ayatana-indicator-sound-c7c00db856ca936559c650ef695452f90472d35e.tar.bz2
ayatana-indicator-sound-c7c00db856ca936559c650ef695452f90472d35e.zip
add time-based confirmation dialog for high volumes
Diffstat (limited to 'data/com.canonical.indicator.sound.gschema.xml')
-rw-r--r--data/com.canonical.indicator.sound.gschema.xml39
1 files changed, 39 insertions, 0 deletions
diff --git a/data/com.canonical.indicator.sound.gschema.xml b/data/com.canonical.indicator.sound.gschema.xml
index a346c0d..ff4816e 100644
--- a/data/com.canonical.indicator.sound.gschema.xml
+++ b/data/com.canonical.indicator.sound.gschema.xml
@@ -39,5 +39,44 @@
Whether or not to show the sound indicator in the menu bar.
</description>
</key>
+
+ <!-- VOLUME -->
+
+ <key name="high-volume-warning-enabled" type="b">
+ <default>true</default>
+ <summary>Whether or not to show the a volume warning.</summary>
+ <description>
+ Whether or not to show the a volume warning when the volume exceeds some level while headphones are plugged in.
+ </description>
+ </key>
+ <key name="high-volume-acknowledgment-ttl" type="i">
+ <default>1200</default>
+ <summary>How often, in hours, a user's high volume confirmation should be remembered.</summary>
+ <description>
+ After a user confirms that they want to listen at a higher volume, subsequent volume
+ changes do not need to re-trigger a warning until this interval has passed.
+ For example, EU standard EN 60950-1/Al2 cites "The acknowledgement does not need to
+ be repeated more than once every 20 h of cumulative listening time."
+ </description>
+ </key>
+ <key name="high-volume-level" type="d">
+ <default>0.75</default>
+ <summary>Volume level that triggers a high volume warning. [0.0..1.0]</summary><!-- FIXME: decibels would be better -->
+ <description>
+ When high volume warnings are enabled, a warning will be shown when
+ the volume level is raised past this level.
+ </description>
+ </key>
+<!-- FIXME: not used yet, needs to be worked into the service.max_volume property wrt allow_amplified_volume .
+ Also, decibels would be better here
+ <key name="maximum-volume" type="d">
+ <default>1.0</default>
+ <summary>Maximum volume level, [0.0..1.0]</summary>
+ <description>
+ Maximum volume level, [0.0..1.0]
+ </description>
+ </key>
+-->
+
</schema>
</schemalist>