[mythtv] [mythtv-commits] Ticket #1856: Audio with only one channel should be output in mono to both left and right

Michael T. Dean mtdean at thirdcontact.com
Mon Jul 3 18:33:36 UTC 2006

On 07/03/2006 01:39 PM, Steven Adeff wrote:
> On 6/29/06, MythTV <mythtv at cvs.mythtv.org> wrote:
>> #1856: Audio with only one channel should be output in mono to both left and right
>> -------------------------------+--------------------------------------------
>>  Reporter:  huffman at graze.net  |        Owner:  skamithi
>>      Type:  enhancement        |       Status:  closed
>>  Priority:  minor              |    Milestone:
>> Component:  mythtv             |      Version:
>>  Severity:  medium             |   Resolution:  invalid
>> -------------------------------+--------------------------------------------
>> Changes (by skamithi):
>>   * resolution:  => invalid
>>   * status:  reopened => closed
>> Comment:
>>  i believe you should resolve such issues using alsa.
> I think this is the wrong way of going about this issue, it should
> really be something handled within MythTV.
I like Stanley's approach.  Otherwise, Justin will have to figure out 
where to put all the new settings:

Output 1-channel audio to:
    2 channels (stereo L+R)
    4 channels (Ctr-FR-FL-Rear)
    5 channels (Ctr-FR-FL-RearR-RearL)

Output 2-channel audio to:
    2 channels
    4 channels
    5 channels

And, we still have to factor in the existing "Independent Muting of Left 
and Right Audio Channels" (for those with dual-language broadcasts).

All this can be done in ALSA's configuration with translation tables...  
After all, it is a configuration that's tied specifically to audio 
output hardware (card and speakers and, perhaps, A/V receiver), so in my 
mind, it's an audio hardware (ALSA) configuration thing.

Sure, the current situation isn't ideal, but instead of putting code in 
Myth to do ALSA's job, I think we just need to improve Myth's support 
for ALSA (and, perhaps, other audio output classes).  For example, one 
approach would be adding some code to Myth's playback groups for 
selection of audio output devices.  Another might be allowing users to 
select output devices during playback (kind of like changing aspect 
ratio during playback).  Adding both might be nice, too.


More information about the mythtv-dev mailing list