From 20f6bd10f17dfeecea93d03873e3b74ecef54782 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Mon, 10 Aug 2015 23:48:37 -0500 Subject: huge pile of diff that consolidates pulse-specific audio work into volume-control-pulse. Work in progress. Promising but currently ugly. --- data/com.canonical.indicator.sound.gschema.xml | 68 +++++++++++++++++--------- 1 file changed, 46 insertions(+), 22 deletions(-) (limited to 'data') diff --git a/data/com.canonical.indicator.sound.gschema.xml b/data/com.canonical.indicator.sound.gschema.xml index ff4816e..c0e4dc1 100644 --- a/data/com.canonical.indicator.sound.gschema.xml +++ b/data/com.canonical.indicator.sound.gschema.xml @@ -42,41 +42,65 @@ - + true - Whether or not to show the a volume warning. + Whether or not to show high volume warnings. - Whether or not to show the a volume warning when the volume exceeds some level while headphones are plugged in. + If enabled on a device, a confirmation dialog will be presented to the user if + (a) something is plugged into the headphone jack (ie, no warnings for speaker volumes) AND + (b) media is playing (ie, no warnings for ringtone volumes) AND + (c) the user attempts to set the volume higher than warning-volume-dB AND + (d) the user has not indicated approval in the last warning-volume-approval-ttl seconds. - - 1200 - How often, in hours, a user's high volume confirmation should be remembered. + + 72000 + How many seconds a user's warning-volume approval should be remembered. - 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." + How long to remember a user's approval of the confirmation dialog discussed in the + description of 'warning-volume-enabled'. + + The default value (72,000 seconds) corresponds to the 20 hours suggested by + EU standard EN 60950-1/Al2: “The acknowledgement does not need to be repeated + more than once every 20 h of cumulative listening time.” - - 0.75 - Volume level that triggers a high volume warning. [0.0..1.0] + + -8.0 + Volume level that triggers a high volume warning. - When high volume warnings are enabled, a warning will be shown when - the volume level is raised past this level. + Volume level that triggers a high volume warning. + See warning-volume-enabled for details. - -- cgit v1.2.3 From 928b62bedbf3787dfd749df2e64714a589bd06ce Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Tue, 11 Aug 2015 12:33:34 -0500 Subject: fix typo in gschema description text --- data/com.canonical.indicator.sound.gschema.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data') diff --git a/data/com.canonical.indicator.sound.gschema.xml b/data/com.canonical.indicator.sound.gschema.xml index c0e4dc1..b2ee856 100644 --- a/data/com.canonical.indicator.sound.gschema.xml +++ b/data/com.canonical.indicator.sound.gschema.xml @@ -49,7 +49,7 @@ If enabled on a device, a confirmation dialog will be presented to the user if (a) something is plugged into the headphone jack (ie, no warnings for speaker volumes) AND (b) media is playing (ie, no warnings for ringtone volumes) AND - (c) the user attempts to set the volume higher than warning-volume-dB AND + (c) the user attempts to set the volume higher than warning-volume-decibels AND (d) the user has not indicated approval in the last warning-volume-approval-ttl seconds. -- cgit v1.2.3