<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [AV200 - Oxygen HD Audio - Asus Xonar D1] analog output device is not listed in audio settings"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=84983#c20">Comment # 20</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [AV200 - Oxygen HD Audio - Asus Xonar D1] analog output device is not listed in audio settings"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=84983">bug 84983</a>
              from <span class="vcard"><a class="email" href="mailto:lostinspacetime@gmx.at" title="lostinspacetime@gmx.at">lostinspacetime@gmx.at</a>
</span></b>
        <pre>(In reply to Raymond from <a href="show_bug.cgi?id=84983#c19">comment #19</a>)
<span class="quote">> > > 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
> > > 
> > > <a href="http://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/src/modules/alsa/">http://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/src/modules/alsa/</a>
> > > 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;
>                   }</span >

after doing so I have to recompile alsa, right?</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>