sys/sunaudio/gstsunaudiomixerctrl.c: Set the output track as the MASTER so that the gnome-settings-daemon keybindings...

Original commit message from CVS:
Patch by: Darren Kenny <darren dot kenny at sun dot com>
* sys/sunaudio/gstsunaudiomixerctrl.c:
(gst_sunaudiomixer_ctrl_build_list):
Set the output track as the MASTER so that the gnome-settings-daemon
keybindings for changing the volume using the keyboard works.
Fixes #356142.
This commit is contained in:
Darren Kenny 2006-09-15 17:10:22 +00:00 committed by Wim Taymans
parent 00256ae0a9
commit c8acc74c5e
2 changed files with 12 additions and 2 deletions

View file

@ -1,3 +1,13 @@
2006-09-15 Wim Taymans <wim@fluendo.com>
Patch by: Darren Kenny <darren dot kenny at sun dot com>
* sys/sunaudio/gstsunaudiomixerctrl.c:
(gst_sunaudiomixer_ctrl_build_list):
Set the output track as the MASTER so that the gnome-settings-daemon
keybindings for changing the volume using the keyboard works.
Fixes #356142.
2006-09-15 Wim Taymans <wim@fluendo.com>
* gst/multipart/multipartdemux.c: (gst_multipart_demux_chain):

View file

@ -74,9 +74,9 @@ gst_sunaudiomixer_ctrl_build_list (GstSunAudioMixerCtrl * mixer)
if (mixer->tracklist == NULL) {
g_return_if_fail (mixer->mixer_fd != -1);
/* Output */
/* Output & should be MASTER when it's the only one. */
track = gst_sunaudiomixer_track_new (GST_SUNAUDIO_TRACK_OUTPUT,
2, GST_MIXER_TRACK_OUTPUT);
2, GST_MIXER_TRACK_OUTPUT | GST_MIXER_TRACK_MASTER);
mixer->tracklist = g_list_append (mixer->tracklist, track);
/* Input */