Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick Shirkey <pshirkey@boosthardware.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel <alsa-devel@alsa-project.org>
Subject: Re: [Fwd:  Multiple cards.]
Date: Wed, 12 Jun 2002 22:56:03 +0900	[thread overview]
Message-ID: <3D0752F3.7070907@boosthardware.com> (raw)
In-Reply-To: s5hit4o1vmv.wl@alsa2.suse.de

Takashi Iwai wrote:
>>----
>># aplay  -f dat -D ttable /1REC/beastie_boys-track_8.wav
>>Playing WAVE '/1REC/beastie_boys-track_8.wav' : Signed 16 bit Little 
>>Endian, Rate 44100 Hz, Stereo
>>aplay: set_params:737: Broken configuration for this PCM: no 
>>configurations available
> 
>  
> the error came from snd_pcm_hw_params_any().
> 
> i'm wondering why the second card has only one channel.
> is it really correct?
> 
> 

It has one pcm device yes. hw1:0

I think I found the reason though I have changed my .asoundrc slightly.
----
pcm.multi {
         type multi;

         slaves.a.pcm "hw:0,0";
         slaves.a.channels 1;
         slaves.b.pcm "hw:0,1";
         slaves.b.channels 1;
	
         slaves.c.pcm "hw:1,0";
         slaves.c.channels 1;
	
         bindings.0.slave a;
         bindings.0.channel 0;
         bindings.1.slave b;
         bindings.1.channel 0;

         bindings.2.slave c;
         bindings.2.channel 0;
}

# jack will be unhappy if there is no mixer to talk to, so we set
# this to card 0.
ctl.multi {
         type hw;
         card 0;
}


----
# arecord -f cd -D multi -c 3 | aplay -D multi
ALSA lib pcm_hw.c:797:(snd_pcm_hw_open) open /dev/snd/pcmC0D1c failed: 
No such file or directory
arecord: main:447: audio open error: No such file or directory
aplay: playback:1739: read error

----

Is there anyway to fake a capture channel so that I can get the cmipci 
to work with this?

I imagine that it is something to do with

         bindings.1.slave b;
         bindings.1.channel 0;


-- 
Patrick Shirkey - Boost Hardware Ltd.
For the discerning hardware connoisseur
Http://www.boosthardware.com
Http://www.boosthardware.com/LAU/guide/
========================================


_______________________________________________________________

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/

  reply	other threads:[~2002-06-12 13:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-12 10:16 [Fwd: Multiple cards.] Patrick Shirkey
2002-06-12 11:21 ` Takashi Iwai
2002-06-12 12:15   ` Patrick Shirkey
2002-06-12 13:20     ` Takashi Iwai
2002-06-12 13:56       ` Patrick Shirkey [this message]
2002-06-12 13:57         ` Takashi Iwai
2002-06-12 15:02           ` Patrick Shirkey
2002-06-12 15:04             ` Takashi Iwai

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=3D0752F3.7070907@boosthardware.com \
    --to=pshirkey@boosthardware.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=tiwai@suse.de \
    /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