<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Option to minimally upmix or remap "mono" channel only (for speaker configurations greater than 2.x)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=94563">94563</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Option to minimally upmix or remap "mono" channel only (for speaker configurations greater than 2.x)
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>PulseAudio
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>daemon
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>pulseaudio-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>freedesktop@nuclearsunshine.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>pulseaudio-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>lennart@poettering.net
          </td>
        </tr></table>
      <p>
        <div>
        <pre>At present, PA's remix logic seems to work well for 2.0 speaker configurations:

* Mono is upmixed to each channel (so its apparent origin for a person in front
of the speakers is front/centre
* Stereo goes to the relevant channels
* 5.1 etc. are downmixed to the left and right channels - centre is mixed to
both, etc.

It doesn't work well for 5.1 speaker configurations:

* Mono is upmixed to all channels, instead of either front-left+front-right or
centre only (so its apparent origin for a centrally positioned user is in their
head, more or less, instead of front/cenre)
* Stereo is upmixed to all channels, instead of being mapped to front-left and
front-right (this happens even with a sink input with "channel map:
front-left,front-right)
* 5.1 goes to the correct channels. Not 100% sure about 7.1 etc.

If remixing is disabled with a 5.1 speaker configuration:

* Mono audio (sink input with "channel map: mono") is discarded entirely
* Stereo goes to front-left and front-right
* 5.1 goes to the correct channels. Presumably additional channels from 7.1
etc. are lost.

Applications such as Firefox appear as a mono sink input when playing back mono
audio (of which there are many examples on the web, for instance many YouTube
and Twitter videos and probably many more). At present a PA user has to choose
between one of:

* No audio output in these cases (and other applications presenting a mono
source), or
* Both mono and stereo audio being upmixed to *all* channels, or
* Continually switching PA's speaker configuration from 2.0 to 5.1, or
* Continually toggling PA remixing.

A presumably fairly easy fix so 5.1 users could avoid this would be an option
to remap the "mono" channel to "centre". Another would be to have the option to
upmix mono to front-left+front-right.

Note, this is not the same as <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Stereo/surround detection"
   href="show_bug.cgi?id=39360">bug 39360</a>, which started as a request to have
auto-switching of PA speaker configuration, and evolved into a request for more
sophisticated "least-necessary" remixing.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>