Takashi Iwai wrote:
At Thu, 05 Feb 2004 00:08:18 +0100,
Joern Nettingsmeier wrote:

[crossposted to alsa-devel and jackit-devel]

hi *!

i'd like to use the rear outs of my sblive platinum with jack.

the following works:
# aplay some.wav -Dfront &
# aplay someother.wav -Drear
both signals end up at my mixer as expected, so it seems the devices are independent.


front is hw:0,0 which is a duplex device.
rear is hw:0,3 and is playback only.

hmm? hw:0,3 isn't for the rear output...


there is already a standard definition for 4.0 output, "surround40".
so, something like below would be better:

        ctl.jtest {
                type hw
                card 0
        }

        pcm.jtest {
                type asym
                playback.pcm {
                        # route for mmap workaround
                        type route
                        slave.pcm surround40
                        ttable.0.0 1
                        ttable.1.1 1
                        ttable.2.2 1
                        ttable.3.3 1
                }
                capture.pcm {
                        # 2 channels only
                        type hw
                        card 0
                }
        }

and run jack with -d jtest -i 2 -o 6 options.

you probably meant "-o 4", right?


works like a charm so far, many thanks!
jackd spits out a warning, though:

ALSA lib pcm.c:1168:(snd_pcm_link) SNDRV_PCM_IOCTL_LINK failed: Operation already in progress


i'll play with it for a while, and then i'll send it to patrick for inclusion in the alsa docs...



time to play :-D


jörn


-- "I never use EQ, never, never, never. I previously used to use mic positioning but I've even given up on that too." - Jezar on http://www.audiomelody.com


Jörn Nettingsmeier Kurfürstenstr 49, 45138 Essen, Germany http://spunk.dnsalias.org (my server) http://www.linuxaudiodev.org (Linux Audio Developers)





-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to