[gnome-media] Don't set the volume to 0 when create a stream
- From: Bastien Nocera <hadess src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-media] Don't set the volume to 0 when create a stream
- Date: Wed, 20 May 2009 07:47:07 -0400 (EDT)
commit 226b1bc336921870b17077582f92f607f9d5de24
Author: Bastien Nocera <hadess hadess net>
Date: Wed May 20 12:44:36 2009 +0100
Don't set the volume to 0 when create a stream
The volume shouldn't be set to the default (0) when creating the stream,
as we will be getting the actual volume from the channel map passed
as a required constructor property.
Fixes the volume jumping around on startup.
---
gnome-volume-control/src/gvc-mixer-stream.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/gnome-volume-control/src/gvc-mixer-stream.c b/gnome-volume-control/src/gvc-mixer-stream.c
index e48a715..eeb5ade 100644
--- a/gnome-volume-control/src/gvc-mixer-stream.c
+++ b/gnome-volume-control/src/gvc-mixer-stream.c
@@ -600,7 +600,7 @@ gvc_mixer_stream_class_init (GvcMixerStreamClass *klass)
"Volume",
"The volume for this stream",
0, G_MAXULONG, 0,
- G_PARAM_READWRITE|G_PARAM_CONSTRUCT));
+ G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_DECIBEL,
g_param_spec_double ("decibel",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]