gst/playback/gstplaybin.c: Update max volume to the same value that the volume element uses.

Original commit message from CVS:
* gst/playback/gstplaybin.c:
Update max volume to the same value that the volume element uses.
This commit is contained in:
Tim-Philipp Müller 2006-08-14 11:41:04 +00:00
parent 4b10da5bce
commit 309d776504
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
* gst/playback/gstplaybin.c:
Update max volume to the same value that the volume element uses.
2006-08-14 Wim Taymans <wim@fluendo.com> 2006-08-14 Wim Taymans <wim@fluendo.com>
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_open): * ext/alsa/gstalsamixer.c: (gst_alsa_mixer_open):

View file

@ -37,7 +37,7 @@ GST_DEBUG_CATEGORY_STATIC (gst_play_bin_debug);
#define GST_IS_PLAY_BIN(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_PLAY_BIN)) #define GST_IS_PLAY_BIN(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_PLAY_BIN))
#define GST_IS_PLAY_BIN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_PLAY_BIN)) #define GST_IS_PLAY_BIN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_PLAY_BIN))
#define VOLUME_MAX_DOUBLE 4.0 #define VOLUME_MAX_DOUBLE 10.0
typedef struct _GstPlayBin GstPlayBin; typedef struct _GstPlayBin GstPlayBin;
typedef struct _GstPlayBinClass GstPlayBinClass; typedef struct _GstPlayBinClass GstPlayBinClass;