[gnome-media] Allow going up to 150% for output volume
- From: Bastien Nocera <hadess src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-media] Allow going up to 150% for output volume
- Date: Tue, 22 Sep 2009 14:22:17 +0000 (UTC)
commit cfe5cf8d6826f2eacf0d2b109381ec61dda50185
Author: Bastien Nocera <hadess hadess net>
Date: Tue Sep 22 15:20:54 2009 +0100
Allow going up to 150% for output volume
And mark the base volume in the slider.
https://bugzilla.gnome.org/show_bug.cgi?id=591285
https://bugzilla.redhat.com/show_bug.cgi?id=520148
gnome-volume-control/src/gvc-mixer-dialog.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/gnome-volume-control/src/gvc-mixer-dialog.c b/gnome-volume-control/src/gvc-mixer-dialog.c
index ffeba97..12dc02a 100644
--- a/gnome-volume-control/src/gvc-mixer-dialog.c
+++ b/gnome-volume-control/src/gvc-mixer-dialog.c
@@ -213,6 +213,11 @@ update_output_settings (GvcMixerDialog *dialog)
return;
}
+ gvc_channel_bar_set_base_volume (GVC_CHANNEL_BAR (dialog->priv->output_bar),
+ gvc_mixer_stream_get_base_volume (stream));
+ gvc_channel_bar_set_is_amplified (GVC_CHANNEL_BAR (dialog->priv->output_bar),
+ gvc_mixer_stream_get_can_decibel (stream));
+
map = gvc_mixer_stream_get_channel_map (stream);
if (map == NULL) {
g_warning ("Default sink stream has no channel map");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]