JACK and ALSA with a 7.1 multi-channel PCI sound card

View: New views
2 Messages — Rating Filter:   Alert me  

JACK and ALSA with a 7.1 multi-channel PCI sound card

by Torsten Krieger :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi folks,

maybe this is not the rigt list to post but the documentation at the web is missing about this issue and i realy need help!

I try to get JACK and ALSA working with a 7.1 multi-channel PCI sound card (C-Media CMI8768). With "aplay -Dcard1 test.wav" i can play a sound directly to the PCI card, so in principal the HW is working. With "aplay -Djackplug test.wav" the sound will be played only to both channels of the onboard sound card (I can connect and disconnect with "QJackCtl" so it's realy playing via JACK).
Here is my "/etc/asound.conf"
# Card 1
pcm.card1 {
        type hw
        card 1
}
ctl.card1 {
        type hw          
        card 1
}
# Jack
pcm.jackplug {
        type plug
        slave {pcm "jack" }
}
pcm.jack {
        type jack
        playback_ports {
                0 alsa_pcm:playback_1
                1 alsa_pcm:playback_2
        }
        capture_ports {
                0 alsa_pcm:capture_1
                1 alsa_pcm:capture_2
        }
}

I have extended "playback_ports" to
        playback_ports {
                0 alsa_pcm:playback_1
                1 alsa_pcm:playback_2
                2 card1:1
        }
but it's not working, maybe a bit to naiv :-(

How can ALSA an JACK be setup to make use of all the channels of the PCI card e.g. with "QJackCtl"?

Anyone have any ideas?

Many thanks in advance,
Torsten

____________________________________________________________
Text: GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://movieflat.web.de

_______________________________________________
Jack-Devel mailing list
Jack-Devel@...
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org

Parent Message unknown Re: JACK and ALSA with a 7.1 multi-channel PCI sound card

by James Warden :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi Torsten,

I believe the capture and playback port lists in your .asoundrc must take valid (registered) jack ports. Your adding card1:1 will probably not work because card1:1 is probably not a jack system port.

J.

--- On Wed, 6/17/09, Torsten Krieger <KriegerMIS@...> wrote:

> From: Torsten Krieger <KriegerMIS@...>
> Subject: [Jack-Devel] JACK and ALSA with a 7.1 multi-channel PCI sound card
> To: jack-devel@...
> Date: Wednesday, June 17, 2009, 6:13 PM
> Hi folks,
>
> maybe this is not the rigt list to post but the
> documentation at the web is missing about this issue and i
> realy need help!
>
> I try to get JACK and ALSA working with a 7.1 multi-channel
> PCI sound card (C-Media CMI8768). With "aplay -Dcard1
> test.wav" i can play a sound directly to the PCI card, so in
> principal the HW is working. With "aplay -Djackplug
> test.wav" the sound will be played only to both channels of
> the onboard sound card (I can connect and disconnect with
> "QJackCtl" so it's realy playing via JACK).
> Here is my "/etc/asound.conf"
> # Card 1
> pcm.card1 {
>     type hw
>     card 1
> }
> ctl.card1 {
>     type hw       
>    
>     card 1
> }
> # Jack
> pcm.jackplug {
>     type plug
>     slave {pcm "jack" }
> }
> pcm.jack {
>     type jack
>     playback_ports {   
>    
>         0
> alsa_pcm:playback_1
>         1
> alsa_pcm:playback_2
>     }
>     capture_ports {
>         0 alsa_pcm:capture_1
>         1 alsa_pcm:capture_2
>     }
> }
>
> I have extended "playback_ports" to
>     playback_ports {   
>    
>         0
> alsa_pcm:playback_1
>         1
> alsa_pcm:playback_2
>                 2
> card1:1
>     }
> but it's not working, maybe a bit to naiv :-(
>
> How can ALSA an JACK be setup to make use of all the
> channels of the PCI card e.g. with "QJackCtl"?
>
> Anyone have any ideas?
>
> Many thanks in advance,
> Torsten
>
> ____________________________________________________________
> Text: GRATIS für alle WEB.DE-Nutzer: Die maxdome
> Movie-FLAT!
> Jetzt freischalten unter http://movieflat.web.de
>
> _______________________________________________
> Jack-Devel mailing list
> Jack-Devel@...
> http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org
>


     
_______________________________________________
Jack-Devel mailing list
Jack-Devel@...
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org