Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
There is often a need for the user to increase the audio playback volume above
the volume level known as "100% volume". While increasing the audio volume
above 100% can result in degraded audio quality, sometimes the audio was, for
example, originally recorded at an extremely low volume, and the user has no
other option to clearly hear the audio. Unfortunately, most MATE applications
with volume controls do not allow the user to set the volume level above 100%.
For example, the main MATE Sound Preferences dialog lets you set the audio
volume beyond 100% (when possible), whereas the Volume Control Applet, Volume
Control status icon, and special "multimedia" volume control keys do not. In
fact, if the user even tries to change the volume using any of the latter
methods, and the current volume level is above 100%, these latter methods will
all reduce the volume to 100%, even if the user tried to increase the volume!
This is part 2 of a patch to change this situation. This patch adds this
capability to the MATE Volume Control Applet and the MATE Volume Control
status icon. It also adds a check box to the MATE Volume Control Preferences
dialog to enable or disable this capability, and for consistency, the main
volume control at the top of that dialog also obeys the current setting of
that check box. This commit is by far the largest one, and is the main part
of the patch.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- Make the speaker test dialog accessible
- Add an accessible object for the Input level custom widget
Co-authored-by: Valentin Villenave <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
Initialize the applet GktBox in the appropriate direction.
|
|
Even if some application icons do not exist in the current theme,
try looking for them in the fallback themes.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
When a new output device is connected and configured as the default, the
mate-volume-control applet (and the status icon) should update the
attached control stream. This allows hot-keys and mouse-scroll events to
affect the new output device.
|
|
|
|
and don't hardcode default value
|
|
|
|
Fixes cppcheck warnings:
[mate-volume-control/gvc-mixer-dialog.c:379] -> [mate-volume-control/gvc-mixer-dialog.c:405]: (style) Local variable control shadows outer variable
[mate-volume-control/gvc-mixer-dialog.c:535] -> [mate-volume-control/gvc-mixer-dialog.c:586]: (style) Local variable control shadows outer variable
|
|
Fixes 'cppcheck' warnings:
[mate-volume-control/gvc-level-bar.c:572]: (style) The scope of the variable 'by' can be reduced.
[mate-volume-control/gvc-level-bar.c:611]: (style) The scope of the variable 'bx' can be reduced.
[mate-volume-control/gvc-mixer-dialog.c:379]: (style) The scope of the variable 'swtch' can be reduced.
[mate-volume-control/gvc-mixer-dialog.c:534]: (style) The scope of the variable 'swtch' can be reduced.
[mate-volume-control/gvc-mixer-dialog.c:1891]: (style) The scope of the variable 'closure' can be reduced.
[mate-volume-control/sound-theme-file-utils.c:47]: (style) The scope of the variable 'data_dir' can be reduced.
|
|
Fixes cppcheck warnings:
[mate-volume-control/gvc-applet.c:118]: (error) syntax error
[mate-volume-control/gvc-applet.c:133]: (error) syntax error
[mate-volume-control/gvc-applet.c:184]: (error) syntax error
[mate-volume-control/gvc-applet.c:287]: (error) syntax error
[mate-volume-control/gvc-applet.c:290]: (error) syntax error
[mate-volume-control/gvc-combo-box.c:111]: (error) syntax error
[mate-volume-control/gvc-combo-box.c:309]: (error) syntax error
[mate-volume-control/gvc-combo-box.c:317]: (error) syntax error
[mate-volume-control/gvc-combo-box.c:428]: (error) syntax error
[mate-volume-control/gvc-mixer-dialog.c:793]: (error) syntax error
[mate-volume-control/gvc-status-icon.c:107]: (error) syntax error
[mate-volume-control/gvc-status-icon.c:122]: (error) syntax error
[mate-volume-control/gvc-status-icon.c:175]: (error) syntax error
[mate-volume-control/gvc-status-icon.c:280]: (error) syntax error
[mate-volume-control/gvc-status-icon.c:283]: (error) syntax error
|
|
|
|
Add --enable-statusicon (yes/no default is yes) and --enable-panelapplet (yes/no default is yes) configuration flags
|
|
This allows us to have builds that use both the legacy status icon as well as the new applet.
|
|
This is a normal menutem with labels and icons that change with the mute state as a toggle item was not always responsive
|
|
Apparently there is an issue with getting the applet orientation on a bottom panel
|
|
Correctly size and scale the icon so doesn't get rendered oversize/ cut at certain panel sizes or on first start. Also set the GTK_ICON_LOOKUP_FORCE_SIZE flag in gtk_icon_theme_load_surface so that when icon theme provides only a single scalable icon it renders the correct size. Otherwise such icons render seriously undersize.
|
|
|
|
Teradici PCoIP on Linux presently has audio output but no audio input.
PulseAudio creates a "monitor" input device for each output device. These
combine so that a microphone icon is displayed in the tray even though no
actual input device is present. It's misleading, so we created this patch to
avoid it.
|
|
|
|
|
|
fixes another runtime warning
|
|
fixes runtime warning "g_cclosure_marshal_VOID__VOID: assertion 'n_param_values == 1' failed"
|