Cheers that's a much tidier way of doing it.

> Another way the left/right front channels can be duplicated is as follows:
> 
> pcm.ice1724_duplicate {
>         type plug
>         slave {
>                 pcm "hw:0,0"
>                 channels 8
>         }
>         route_policy duplicate
>         ttable.0.0 1
>         ttable.1.1 1
>         ttable.0.2 1
>         ttable.1.3 1
>         ttable.0.4 1
>         ttable.1.5 1
>         ttable.0.6 1
>         ttable.1.7 1
> }
> 
> Note: in this case the matching ttable entries aren't strictly necessary with 
> the route_policy defined as duplicate (first pair of channels duplicated).
> 
> BTW, I noticed from your asoundrc that you're only duplicating the left front 
> channel.

Thanks for pointing that out :)
I based that on this here:
http://www.alsa-project.org/alsa-doc/doc-php/notes-full.php3#ice1712

But then thought about what it was doing and changed it to ttable.0. and
ttable.1. after I had sent the email.

Is there a way to get the OSS emulation to use this duplication setup?

Also just thinking about it - is it at all possible to have alsa setup
so that a different setup is used depending on how many channels the
sound is playing to, ie so 8 channel sound just plays as normal, 6 has 2
channels duplicated to make 8, and so on...




Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to