45
<key name="high-volume-warning-enabled" type="b">
45
<key name="warning-volume-enabled" type="b">
46
46
<default>true</default>
47
<summary>Whether or not to show the a volume warning.</summary>
49
Whether or not to show the a volume warning when the volume exceeds some level while headphones are plugged in.
52
<key name="high-volume-acknowledgment-ttl" type="i">
53
<default>1200</default>
54
<summary>How often, in hours, a user's high volume confirmation should be remembered.</summary>
56
After a user confirms that they want to listen at a higher volume, subsequent volume
57
changes do not need to re-trigger a warning until this interval has passed.
58
For example, EU standard EN 60950-1/Al2 cites "The acknowledgement does not need to
59
be repeated more than once every 20 h of cumulative listening time."
62
<key name="high-volume-level" type="d">
63
<default>0.75</default>
64
<summary>Volume level that triggers a high volume warning. [0.0..1.0]</summary><!-- FIXME: decibels would be better -->
66
When high volume warnings are enabled, a warning will be shown when
67
the volume level is raised past this level.
70
<!-- FIXME: not used yet, needs to be worked into the service.max_volume property wrt allow_amplified_volume .
71
Also, decibels would be better here
72
<key name="maximum-volume" type="d">
73
<default>1.0</default>
74
<summary>Maximum volume level, [0.0..1.0]</summary>
76
Maximum volume level, [0.0..1.0]
47
<summary>Whether or not to show high volume warnings.</summary>
49
If enabled on a device, a confirmation dialog will be presented to the user if
50
(a) something is plugged into the headphone jack (ie, no warnings for speaker volumes) AND
51
(b) media is playing (ie, no warnings for ringtone volumes) AND
52
(c) the user attempts to set the volume higher than warning-volume-decibels AND
53
(d) the user has not indicated approval in the last warning-volume-approval-ttl seconds.
56
<key name="warning-volume-confirmation-ttl" type="i">
57
<default>72000</default>
58
<summary>How many seconds a user's warning-volume approval should be remembered.</summary>
60
How long to remember a user's approval of the confirmation dialog discussed in the
61
description of 'warning-volume-enabled'.
63
The default value (72,000 seconds) corresponds to the 20 hours suggested by
64
EU standard EN 60950-1/Al2: “The acknowledgement does not need to be repeated
65
more than once every 20 h of cumulative listening time.”
68
<key name="warning-volume-decibels" type="d">
69
<default>-8.0</default>
70
<summary>Volume level that triggers a high volume warning.</summary>
72
Volume level that triggers a high volume warning.
73
See warning-volume-enabled for details.
77
<key name="normal-volume-decibels" type="d">
79
<summary>Normal output volume.</summary>
81
The maximum volume when com.ubuntu.sound's 'allow-amplified-volume' setting is disabled.
83
To conform with EU standard EN 60950-1/Al2, this value should never be
84
set to a dB that causes headphone sound output to exceed 100 dBA, nor
85
electric output to exceed 150 mV.
87
The default value (0) corresponds to PulseAudio's PA_VOLUME_NORM.
91
<key name="amplified-volume-decibels" type="d">
93
<summary>Output volume to use when com.ubuntu.sound's 'allow-amplified-volume' setting is enabled.</summary>
95
The maximum volume when com.ubuntu.sound's 'allow-amplified-volume' setting is enabled.
97
To conform with EU standard EN 60950-1/Al2, this value should never be
98
set to a dB that causes headphone sound output to exceed 100 dBA, nor
99
electric output to exceed 150 mV.
101
The default value (11) corresponds to PulseAudio's PA_VOLUME_UI_MAX.