Ok after doing some serious looking the source of the problem is NOT
gnome-control-center but Gstreamer alsa plugin. The last comment on the
Redhat bugzilla was a good lead.
The problem is it not looking at PCM as a fall back for the master. So
all that needed to be added was the code for it. I have not tested this
yet (but I will).
This patch adds PCM as a fallback as the master volume for gstreamer
alsa plugin.
Signed-off-by: Jerone Young <[EMAIL PROTECTED]>
diff -r 4a0fdea649ff ext/alsa/gstalsamixer.c
--- a/ext/alsa/gstalsamixer.c Wed Dec 26 11:31:46 2007 -0600
+++ b/ext/alsa/gstalsamixer.c Wed Dec 26 11:36:10 2007 -0600
@@ -154,6 +154,16 @@ gst_alsa_mixer_find_master_mixer (GstAls
element = snd_mixer_elem_next (element);
}
+ /* If not, check if we have a playback mixer labelled as 'PCM' */
+ element = snd_mixer_first_elem(handle);
+ for (i = 0; i < count; i++) {
+ if (snd_mixer_selem_has_playback_volume (element) &&
+ strcmp (snd_mixer_selem_get_name (element), "PCM") == 0) {
+ return element;
+ }
+ element = snd_mixer_elem_next (element);
+ }
+
/* If not, check if we have a playback mixer with both volume and switch */
element = snd_mixer_first_elem (handle);
for (i = 0; i < count; i++) {
** Also affects: gst-plugins (Ubuntu)
Importance: Undecided
Status: New
--
Audio volume control keys control microphone volume instead of PCM volume
https://bugs.launchpad.net/bugs/174292
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs