All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Oliver Schrempf <un1q@stud.uni-karlsruhe.de>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: asoundrc problem
Date: Mon, 03 Feb 2003 12:33:24 +0100	[thread overview]
Message-ID: <s5h4r7lioor.wl@alsa2.suse.de> (raw)
In-Reply-To: <Pine.LNX.4.44.0302031158520.11046-100000@rzstud4.stud.uni-karlsruhe.de>

At Mon, 3 Feb 2003 12:06:22 +0100 (CET),
Oliver Schrempf wrote:
> 
> > > /home/oliver>arecord -Dplug:multi -c 16 test.wav
> > > Recording WAVE 'test.wav' : Unsigned 8 bit, Rate 8000 Hz, Channels 16
> > > arecord: set_params:765: Broken configuration for this PCM: no
> > > configurations available
> >
> > hmm..  does it work when you specify the format and rate?
> >
> > 	% arecord -Dplug:multi -c16 -fS16_LE -r48000 foo.wav
> >
> > (or -fS32_LE as a native format, then you don't need plug layer)
> 
> None of that works, always the same error as above

ok.

> > also, try whether areocord (with -c 8) works on each card (hw:0 and
> > hw:1).
> It works with -Ddefault
>  or with -Dice_a and the following pcm
> pcm.ice_a {
>         type plug
>         ttable.0.0 1
>         ttable.1.1 1
>         ttable.2.2 1
>         ttable.3.3 1
>         ttable.4.4 1
>         ttable.5.5 1
>         ttable.6.6 1
>         ttable.7.7 1
>         slave.pcm {
>                 type hw
>                 card 0
>                 device 0
>         }
> }
> 
> -Dhw:0,0 gives
> arecord -Dhw:0,0 -c8 -fS16_LE -r44100 foo.wav
> Recording WAVE 'foo.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Channels 8
> arecord: set_params:787: Sample format non available
 
it's the expected behavior, because the hardware doesn't support this
format.  it suppors only S32_LE.

but it seems that this is an alsa-lib bug although i can play
4-channel wav file using two consumer cards...


Takashi


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

  reply	other threads:[~2003-02-03 11:33 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-30  8:34 asoundrc problem Oliver Schrempf
2003-01-30 10:51 ` Takashi Iwai
2003-01-30 11:06   ` Oliver Schrempf
2003-01-31 17:47     ` Takashi Iwai
2003-02-03 11:06       ` Oliver Schrempf
2003-02-03 11:33         ` Takashi Iwai [this message]
2003-02-03 13:40           ` Oliver Schrempf
2003-02-04 12:30             ` Takashi Iwai
2003-02-04 12:56               ` Oliver Schrempf
  -- strict thread matches above, loose matches on Subject: below --
2003-01-27 13:09 Oliver Schrempf
2003-01-27 14:04 ` Takashi Iwai
2003-01-27 15:57   ` Oliver Schrempf
2003-01-27 16:06     ` Jaroslav Kysela
2003-01-27 17:03       ` Oliver Schrempf
2003-01-27 17:30         ` Takashi Iwai
2003-01-27 18:14           ` Oliver Schrempf
2003-01-28  9:56             ` Takashi Iwai
2003-01-28 11:06               ` Oliver Schrempf

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=s5h4r7lioor.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=un1q@stud.uni-karlsruhe.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.