aboutsummaryrefslogtreecommitdiff
path: root/data/com.canonical.indicator.sound.gschema.xml
blob: ff4816e7f18eac161779d98060423490fd2238d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<schemalist>
  <schema id="com.canonical.indicator.sound" path="/com/canonical/indicator/sound/" gettext-domain="indicator-sound">
    <key name="blacklisted-media-players" type="as">
      <summary>A list of applications blacklisted from the sound menu</summary>
      <default>[]</default>
      <description>
        Each media player which abides by the MPRIS2 spec will automatically appear in the menu.
        This array should contain the desktop file names (minus .desktop suffix) of applications which
        do not want to be included in the sound menu.
      </description>
    </key>
    <key name="interested-media-players" type="as">
      <summary>A list of applications which at some point have registered with the sound menu</summary>
      <default>[]</default>
      <description>
        Each media player which abides by the MPRIS2 spec will automatically appear in the menu.
        This array should contain the desktop file names (minus .desktop suffix) of applications which
        have at some point appeared in the menU. This allows the menu remember and display offlined applications.
      </description>
    </key>
    <key name="preferred-media-players" type="as">
      <summary>A list of applications that will have player controls visible all the time</summary>
      <default>[ 'rhythmbox' ]</default>
      <description>
        A list of applications that will have player controls visible all the time
      </description>
    </key>
    <key name="global-mute" type="b">
      <default>false</default>
      <summary>Initial setting for global mute (mute all) on the menu </summary>
      <description>
        On start up volume should not be muted.
      </description>
    </key>
    <key name="visible" type="b">
      <default>true</default>
      <summary>Whether or not to show the sound indicator in the menu bar.</summary>
      <description>
        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>