[mythtv-users] Audio to 3 devices

Karl Newman newmank1 at asme.org
Mon Aug 18 19:40:51 UTC 2014


On Mon, Aug 18, 2014 at 12:25 PM, Josu Lazkano <josu.lazkano at gmail.com>
wrote:

> Hello,
>
> I got it!
>
> pcm.!default {
>     type plug
>     slave {
>         pcm "both"
>     }
> }
>
> pcm.both {
>     type route
>     slave {
>         pcm multi
>         channels 6
>     }
>     ttable.0.0 1.0
>     ttable.1.1 1.0
>     ttable.0.2 1.0
>     ttable.1.3 1.0
>     ttable.0.4 1.0
>     ttable.1.5 1.0
> }
>
> pcm.multi {
>     type multi
>     slaves.a {
>         pcm "tv"
>         channels 2
>     }
>     slaves.b {
>         pcm "receiver"
>         channels 2
>     }
>     slaves.c {
>         pcm "analog"
>         channels 2
>     }
>     bindings.0.slave a
>     bindings.0.channel 0
>     bindings.1.slave a
>     bindings.1.channel 1
>     bindings.2.slave b
>     bindings.2.channel 0
>     bindings.3.slave b
>     bindings.3.channel 1
>     bindings.4.slave c
>     bindings.4.channel 0
>     bindings.5.slave c
>     bindings.5.channel 1
> }
>
> pcm.tv {
>     type hw
>     card 1
>     device 7
>     channels 2
> }
>
> pcm.receiver {
>     type hw
>     card 0
>     device 1
>     channels 2
> }
>
> pcm.analog {
>     type hw
>     card 0
>     device 0
>     channels 2
> }
>
>
> The problem is that the "pcm.receiver" device can handle more than 2
> channels. How can I send best quality to the receiver?
>

Nicley done. I'm always baffled by the asoundrc syntax. Maybe you could
insert another 6-channel "multi" which sends one copy to the receiver with
all 6 channels and sends another copy to your "route", which then collapses
the 6 channels to 2, then chain the "route" to the existing "multi" (but
remove the receiver as a slave from that one).

Karl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20140818/e03eba0c/attachment.html>


More information about the mythtv-users mailing list