[pulseaudio-tickets] [Bug 84983] [AV200 - Oxygen HD Audio - Asus Xonar D1] analog output device is not listed in audio settings

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Oct 17 16:42:01 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=84983

--- Comment #19 from Raymond <superquad.vortex2 at gmail.com> ---

> > Simple mixer control 'Master',0
> >   Capabilities: pvolume pswitch pswitch-joined
> >   Playback channels: Front Left - Front Right - Rear Left - Rear Right -
> > Front Center - Woofer - Side Left - Side Right
> >   Limits: Playback 67 - 127
> >   Mono:
> >   Front Left: Playback 121 [90%] [-6.00dB] [on]
> >   Front Right: Playback 121 [90%] [-6.00dB] [on]
> >   Rear Left: Playback 121 [90%] [-6.00dB] [on]
> >   Rear Right: Playback 121 [90%] [-6.00dB] [on]
> >   Front Center: Playback 121 [90%] [-6.00dB] [on]
> >   Woofer: Playback 94 [45%] [-33.00dB] [on]
> >   Side Left: Playback 121 [90%] [-6.00dB] [on]
> >   Side Right: Playback 121 [90%] [-6.00dB] [on]
> > 
> > 
> > 
> > multi channel master playback volume was removed by this patch
> > 
> > http://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/src/modules/alsa/
> > alsa-mixer.c?id=527078523815587bfd021bc1d10782403e9b3e84

> 
> Before this patch, my card worked perfectly. I am now able to use it by
> choosing the 5.1 Profile with pavucontrol. With this fix however, I get
> maximum volume every time I restart the computer.. but this is probably
> another story.


did you change masks in alsa-mixer.h


pa_channel_position_mask_t masks[SND_MIXER_SCHN_LAST][8];





-                    if (e->n_channels > 2) {
+                   if (e->n_channels > 8) {
                        /* FIXME: In some places code like this is used:
                         *
                         *     e->masks[alsa_channel_ids[p]][e->n_channels-1]
                         *
                         * The definition of e->masks is
                           *
-                         *     pa_channel_position_mask_t
masks[SND_MIXER_SCHN_LAST][2];
+                         *     pa_channel_position_mask_t
masks[SND_MIXER_SCHN_LAST][8];
                         *
-                         * Since the array size is fixed at 2, we obviously
+                         * Since the array size is fixed at 8, we obviously
-                          * don't support elements with more than two
+                         * don't support elements with more than eight
                         * channels... */
                        pa_log_warn("Volume element %s has %u channels. That's
too much! I can't handle that!", e->alsa_name, e->n_channels);
                        return -1;
                  }

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20141017/9b77de4e/attachment.html>


More information about the pulseaudio-bugs mailing list