Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Patrick Shirkey <pshirkey@boosthardware.com>
Cc: alsa-devel@lists.sourceforge.net, jackit-devel@lists.sourceforge.net
Subject: Re: quattro multi plugin.
Date: Fri, 19 Jul 2002 19:51:50 +0200	[thread overview]
Message-ID: <s5hd6tjr4g9.wl@alsa2.suse.de> (raw)
In-Reply-To: <3D381A7F.4090708@boosthardware.com>

[-- Attachment #1: Type: text/plain, Size: 411 bytes --]

At Fri, 19 Jul 2002 22:56:15 +0900,
Patrick Shirkey wrote:
> 
> This is wierd. Using the exact same commands I cannot get jackd to load 
> now. The card still, ahem, works, cough, with a single pcm device.

how about the asoundrc attached below?
this will map hw:2,1 and hw:2,2 as 4 channels pcm.
i thought that these two devices correspond to 96kHz, so you need to
specify other frequency for jackd.


Takashi

[-- Attachment #2: quatro-asoundrc --]
[-- Type: application/octet-stream, Size: 788 bytes --]

#
# compose 4 channels from two channel x two devices, hw:2,1 and hw:2,2
# assuming that hw:2,1 and hw:2,2 give the same condition, 24_3LE/96k
#

pcm.quattro {
        type multi;

        slaves.a.pcm "hw:2,1";
        slaves.a.channels 2;
	slaves.b.pcm "hw:2,2";
	slaves.b.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;
}

#
# remap 4 channels as interleaved.
# use plug instead of route here, since 24_3LE is unlikely supported by
# applications.
#
pcm.q4 {
	type plug;
	slave.pcm "quattro";
	ttable.0.0 1;
	ttable.1.1 1;
	ttable.2.2 1;
	ttable.3.3 1;
}

#
# define the control
#
ctl.quattro {
	type hw;
	card 2;
}

# alias
ctl.q4 ctl.quattro

  reply	other threads:[~2002-07-19 17:51 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-19  7:11 quattro multi plugin Patrick Shirkey
2002-07-19  8:42 ` Patrick Shirkey
2002-07-19 13:56   ` Patrick Shirkey
2002-07-19 17:51     ` Takashi Iwai [this message]
2002-07-19 23:44       ` Thorsten Haas
2002-07-20 16:09       ` Patrick Shirkey
2002-07-20 16:22         ` Patrick Shirkey
2002-07-20 16:41           ` Patrick Shirkey
2002-07-21  8:20         ` Jaroslav Kysela
2002-07-22  9:58           ` Patrick Shirkey
2002-07-22 11:10             ` Takashi Iwai
2002-07-22 11:21             ` Patrick Shirkey
2002-07-28  8:14               ` quattro multi plugin - 4 channel recording Patrick Shirkey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=s5hd6tjr4g9.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=jackit-devel@lists.sourceforge.net \
    --cc=pshirkey@boosthardware.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox