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 <alsa-devel@alsa-project.org>
Subject: Re: [Fwd:  Multiple cards.]
Date: Wed, 12 Jun 2002 15:20:24 +0200	[thread overview]
Message-ID: <s5hit4o1vmv.wl@alsa2.suse.de> (raw)
In-Reply-To: <3D073B64.2010200@boosthardware.com>

At Wed, 12 Jun 2002 21:15:32 +0900,
Patrick Shirkey wrote:
> 
> Takashi Iwai wrote:
> > At Wed, 12 Jun 2002 19:16:59 +0900,
> > Patrick Shirkey wrote:
> > 
> >>In your example you don't say whether your cards have are stereo or mono 
> >>  channels.
> >>
> >>I get this ouput when starting jack
> >>
> >>----
> >># jackd -R -v -d alsa -d ttable
> >>jackd 0.33.0
> >>Copyright 2001-2002 Paul Davis and others.
> >>jackd comes with ABSOLUTELY NO WARRANTY
> >>This is free software, and you are welcome to redistribute it
> >>under certain conditions; see the file COPYING for details
> >>
> >>3475 waiting for signals
> >>creating alsa driver ... ttable|1024|2|48000|swmon
> >>ALSA: no playback configurations available
> >>ALSA: cannot configure capture channel
> >>cannot load driver module alsa
> >>jack main caught signal 15
> >>-----
> >>
> >>Using the following in my .asoundrc file. I'm not sure if it is correct 
> >>as card0 has two stereo pcm devices. I'm not sure whether they are being 
> >>defined in the following or not.
> >>
> >>Does
> >>
> >>         slaves.a.channels 2
> >>
> >>refer to the pcm devices
> >>
> >>         eg. hw:0,0 and hw:0,1
> >>
> >>or the first two mono channels available on card0?
> >>
> >>         eg. left and right channels on hw:0,0
> > 
> > 
> > the latter.  hw:0,0 and hw:0,1 are different substreams,
> > i.e. different pcms.
> > 
> > if your second card has only one channel, then the amount of resultant
> > channels will be three, as you modified.  it should work so.
> > 
> > do both cards support the same condition (48kHz) ?
> >  
> > 
> 
> Yes. Testing them seperately they both work at 48Khz
> 
> Do you know what this means?
> 
> ----
> # 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?


> # arecord -f cd -D multi -c 3 | aplay -D multi
> Recording WAVE 'stdout' : Signed 16 bit Little Endian, Rate 44100 Hz, 
> Channels 3
> arecord: set_params:737: Broken configuration for this PCM: no 
> configurations available
> Playing WAVE 'stdin' : Signed 16 bit Little Endian, Rate 44100 Hz, 
> Channels 3
> aplay: set_params:737: Broken configuration for this PCM: no 
> configurations available

both aplay and arecord say the same error.  the reason must be
identical.


Takashi

_______________________________________________________________

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

  reply	other threads:[~2002-06-12 13:20 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 [this message]
2002-06-12 13:56       ` Patrick Shirkey
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=s5hit4o1vmv.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --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