All of lore.kernel.org
 help / color / mirror / Atom feed
* asoundrc problem
@ 2003-01-27 13:09 Oliver Schrempf
  2003-01-27 14:04 ` Takashi Iwai
  0 siblings, 1 reply; 18+ messages in thread
From: Oliver Schrempf @ 2003-01-27 13:09 UTC (permalink / raw)
  To: alsa-devel

Hi All,
I get this errormessage for the multi configuration below:

Broken configuration: no configurations available: Invalid argument


pcm.multi {
        type multi;
        slaves.a.pcm "hw:0,0,0";
        slaves.a.channels 8;
        slaves.b.pcm "hw:1,0,0";
        slaves.b.channels 8;
        bindings.0.slave a;
        bindings.0.channel 0;
        bindings.1.slave a;
        bindings.1.channel 1;
        bindings.2.slave a;
        bindings.2.channel 2;
        bindings.3.slave a;
        bindings.3.channel 3;
        bindings.4.slave a;
        bindings.4.channel 4;
        bindings.5.slave a;
        bindings.5.channel 5;
        bindings.6.slave a;
        bindings.6.channel 6;
        bindings.7.slave a;
        bindings.7.channel 7;
        bindings.8.slave b;
        bindings.8.channel 0;
        bindings.9.slave b;
        bindings.9.channel 1;
        bindings.10.slave b;
        bindings.10.channel 2;
        bindings.11.slave b;
        bindings.11.channel 3;
        bindings.12.slave b;
        bindings.12.channel 4;
        bindings.13.slave b;
        bindings.13.channel 5;
        bindings.14.slave b;
        bindings.14.channel 6;
        bindings.15.slave b;
        bindings.15.channel 7;
}

I have two Terratec EWS88MT (ice1712)

Any Hints?


Oliver Schrempf  ***  eMail un1q@rz.uni-karlsruhe.de



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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: asoundrc problem
  2003-01-27 13:09 asoundrc problem Oliver Schrempf
@ 2003-01-27 14:04 ` Takashi Iwai
  2003-01-27 15:57   ` Oliver Schrempf
  0 siblings, 1 reply; 18+ messages in thread
From: Takashi Iwai @ 2003-01-27 14:04 UTC (permalink / raw)
  To: Oliver Schrempf; +Cc: alsa-devel

At Mon, 27 Jan 2003 14:09:03 +0100 (CET),
Oliver Schrempf wrote:
> 
> Hi All,
> I get this errormessage for the multi configuration below:
> 
> Broken configuration: no configurations available: Invalid argument

doesn't it work with the pcm "plug:multi" ?


Takashi


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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: asoundrc problem
  2003-01-27 14:04 ` Takashi Iwai
@ 2003-01-27 15:57   ` Oliver Schrempf
  2003-01-27 16:06     ` Jaroslav Kysela
  0 siblings, 1 reply; 18+ messages in thread
From: Oliver Schrempf @ 2003-01-27 15:57 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

On Mon, 27 Jan 2003, Takashi Iwai wrote:


> > Broken configuration: no configurations available: Invalid argument
>
> doesn't it work with the pcm "plug:multi" ?

Sorry, but I can't find any documentation on "plug:multi"?
How do I have to to use it?

Oli



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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: asoundrc problem
  2003-01-27 15:57   ` Oliver Schrempf
@ 2003-01-27 16:06     ` Jaroslav Kysela
  2003-01-27 17:03       ` Oliver Schrempf
  0 siblings, 1 reply; 18+ messages in thread
From: Jaroslav Kysela @ 2003-01-27 16:06 UTC (permalink / raw)
  To: Oliver Schrempf; +Cc: alsa-devel@lists.sourceforge.net

On Mon, 27 Jan 2003, Oliver Schrempf wrote:

> On Mon, 27 Jan 2003, Takashi Iwai wrote:
> 
> 
> > > Broken configuration: no configurations available: Invalid argument
> >
> > doesn't it work with the pcm "plug:multi" ?
> 
> Sorry, but I can't find any documentation on "plug:multi"?
> How do I have to to use it?

aplay -Dplug:multi

It's device description/name for alsa-lib.

						Jaroslav

-----
Jaroslav Kysela <perex@suse.cz>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs



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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: asoundrc problem
  2003-01-27 16:06     ` Jaroslav Kysela
@ 2003-01-27 17:03       ` Oliver Schrempf
  2003-01-27 17:30         ` Takashi Iwai
  0 siblings, 1 reply; 18+ messages in thread
From: Oliver Schrempf @ 2003-01-27 17:03 UTC (permalink / raw)
  To: Jaroslav Kysela; +Cc: alsa-devel@lists.sourceforge.net


> > > > Broken configuration: no configurations available: Invalid argument
> > >
> > > doesn't it work with the pcm "plug:multi" ?
> >
> > Sorry, but I can't find any documentation on "plug:multi"?
> > How do I have to to use it?
>
> aplay -Dplug:multi
>
> It's device description/name for alsa-lib.

Thanks for that one, but

arecord -Dplug:multi -c16 multitest.wav
gives me

ALSA lib dlmisc.c:107:(snd_dlsym_verify) unable to verify version for
symbol _snd_pcm_plug:multi_open
ALSA lib pcm.c:1788:(snd_pcm_open_conf) symbol _snd_pcm_plug:multi_open is
not defined inside (null)
arecord: main:462: audio open error: No such device or address

Oli




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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: asoundrc problem
  2003-01-27 17:03       ` Oliver Schrempf
@ 2003-01-27 17:30         ` Takashi Iwai
  2003-01-27 18:14           ` Oliver Schrempf
  0 siblings, 1 reply; 18+ messages in thread
From: Takashi Iwai @ 2003-01-27 17:30 UTC (permalink / raw)
  To: Oliver Schrempf; +Cc: Jaroslav Kysela, alsa-devel@lists.sourceforge.net

At Mon, 27 Jan 2003 18:03:21 +0100 (CET),
Oliver Schrempf wrote:
> 
> 
> > > > > Broken configuration: no configurations available: Invalid argument
> > > >
> > > > doesn't it work with the pcm "plug:multi" ?
> > >
> > > Sorry, but I can't find any documentation on "plug:multi"?
> > > How do I have to to use it?
> >
> > aplay -Dplug:multi
> >
> > It's device description/name for alsa-lib.
> 
> Thanks for that one, but
> 
> arecord -Dplug:multi -c16 multitest.wav
> gives me
> 
> ALSA lib dlmisc.c:107:(snd_dlsym_verify) unable to verify version for
> symbol _snd_pcm_plug:multi_open
> ALSA lib pcm.c:1788:(snd_pcm_open_conf) symbol _snd_pcm_plug:multi_open is
> not defined inside (null)
> arecord: main:462: audio open error: No such device or address

hmm, there is still a bug in the alsa-lib configuration parser..?


anyway, add the following and try -Dmplug instead as a workaround.


pcm.mplug {
	type plug
	slave.pcm "multi"
}



ciao,

Takashi


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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: asoundrc problem
  2003-01-27 17:30         ` Takashi Iwai
@ 2003-01-27 18:14           ` Oliver Schrempf
  2003-01-28  9:56             ` Takashi Iwai
  0 siblings, 1 reply; 18+ messages in thread
From: Oliver Schrempf @ 2003-01-27 18:14 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: Jaroslav Kysela, alsa-devel@lists.sourceforge.net

> hmm, there is still a bug in the alsa-lib configuration parser..?
>
>
> anyway, add the following and try -Dmplug instead as a workaround.
>
>
> pcm.mplug {
> 	type plug
> 	slave.pcm "multi"
> }
>

Umpf, sorry. I just realized, that I had a mistake in asoundrc from
playing around with plug:multi.

The error I get now from
arecord -Dmplug -c16 test.wav
as well as from
arecord -Dplug:multi -c16 test.wav

is

arecord: main:462: audio open error: No such file or directory

greetings Oli



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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: asoundrc problem
  2003-01-27 18:14           ` Oliver Schrempf
@ 2003-01-28  9:56             ` Takashi Iwai
  2003-01-28 11:06               ` Oliver Schrempf
  0 siblings, 1 reply; 18+ messages in thread
From: Takashi Iwai @ 2003-01-28  9:56 UTC (permalink / raw)
  To: Oliver Schrempf; +Cc: Jaroslav Kysela, alsa-devel@lists.sourceforge.net

At Mon, 27 Jan 2003 19:14:07 +0100 (CET),
Oliver Schrempf wrote:
> 
> > hmm, there is still a bug in the alsa-lib configuration parser..?
> >
> >
> > anyway, add the following and try -Dmplug instead as a workaround.
> >
> >
> > pcm.mplug {
> > 	type plug
> > 	slave.pcm "multi"
> > }
> >
> 
> Umpf, sorry. I just realized, that I had a mistake in asoundrc from
> playing around with plug:multi.
> 
> The error I get now from
> arecord -Dmplug -c16 test.wav
> as well as from
> arecord -Dplug:multi -c16 test.wav
> 
> is
> 
> arecord: main:462: audio open error: No such file or directory

did you still have your original definition of pcm.multi ?
the setting above is additional one.


Takashi


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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: asoundrc problem
  2003-01-28  9:56             ` Takashi Iwai
@ 2003-01-28 11:06               ` Oliver Schrempf
  0 siblings, 0 replies; 18+ messages in thread
From: Oliver Schrempf @ 2003-01-28 11:06 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: Jaroslav Kysela, alsa-devel@lists.sourceforge.net

On Tue, 28 Jan 2003, Takashi Iwai wrote:

> > Umpf, sorry. I just realized, that I had a mistake in asoundrc from
> > playing around with plug:multi.
> >
> > The error I get now from
> > arecord -Dmplug -c16 test.wav
> > as well as from
> > arecord -Dplug:multi -c16 test.wav
> >
> > is
> >
> > arecord: main:462: audio open error: No such file or directory
>
> did you still have your original definition of pcm.multi ?
> the setting above is additional one.

To avoid confusions, here my actual settings:
pcm.multi {
        type multi;
        slaves.a.pcm "hw:0,0,0";
        slaves.a.channels 8;
        slaves.b.pcm "hw:1,0,0";
        slaves.b.channels 8;
        bindings.0.slave a;
        bindings.0.channel 0;
        bindings.1.slave a;
        bindings.1.channel 1;
        bindings.2.slave a;
        bindings.2.channel 2;
        bindings.3.slave a;
        bindings.3.channel 3;
        bindings.4.slave a;
        bindings.4.channel 4;
        bindings.5.slave a;
        bindings.5.channel 5;
        bindings.6.slave a;
        bindings.6.channel 6;
        bindings.7.slave a;
        bindings.7.channel 7;
        bindings.8.slave b;
        bindings.8.channel 0;
        bindings.9.slave b;
        bindings.9.channel 1;
        bindings.10.slave b;
        bindings.10.channel 2;
        bindings.11.slave b;
        bindings.11.channel 3;
        bindings.12.slave b;
        bindings.12.channel 4;
        bindings.13.slave b;
        bindings.13.channel 5;
        bindings.14.slave b;
        bindings.14.channel 6;
        bindings.15.slave b;
        bindings.15.channel 7;
}
pcm.mplug{
        type plug
        slave.pcm "multi"
}




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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* asoundrc problem
@ 2003-01-30  8:34 Oliver Schrempf
  2003-01-30 10:51 ` Takashi Iwai
  0 siblings, 1 reply; 18+ messages in thread
From: Oliver Schrempf @ 2003-01-30  8:34 UTC (permalink / raw)
  To: alsa-devel

Since my last mail where I sent my current settings I still have the
problem, that I recieve the following error message

arecord: main:462: audio open error: No such file or directory

when trying
arecord -Dplug:multi -c 16 -t wav test.wav

Oli



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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: asoundrc problem
  2003-01-30  8:34 Oliver Schrempf
@ 2003-01-30 10:51 ` Takashi Iwai
  2003-01-30 11:06   ` Oliver Schrempf
  0 siblings, 1 reply; 18+ messages in thread
From: Takashi Iwai @ 2003-01-30 10:51 UTC (permalink / raw)
  To: Oliver Schrempf; +Cc: alsa-devel

At Thu, 30 Jan 2003 09:34:13 +0100 (CET),
Oliver Schrempf wrote:
> 
> Since my last mail where I sent my current settings I still have the
> problem, that I recieve the following error message
> 
> arecord: main:462: audio open error: No such file or directory

what shows if you run "aplay -L" and "aplay -l" ?
does pcm.multi appear there?


Takashi


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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: asoundrc problem
  2003-01-30 10:51 ` Takashi Iwai
@ 2003-01-30 11:06   ` Oliver Schrempf
  2003-01-31 17:47     ` Takashi Iwai
  0 siblings, 1 reply; 18+ messages in thread
From: Oliver Schrempf @ 2003-01-30 11:06 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

On Thu, 30 Jan 2003, Takashi Iwai wrote:

> At Thu, 30 Jan 2003 09:34:13 +0100 (CET),
> Oliver Schrempf wrote:
> >
> > Since my last mail where I sent my current settings I still have the
> > problem, that I recieve the following error message
> >
> > arecord: main:462: audio open error: No such file or directory
>
> what shows if you run "aplay -L" and "aplay -l" ?
> does pcm.multi appear there?
OK, the modules where not loaded :-(
(I'll kick the guy who touched my machine...)

Now again:
/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

/home/oliver> aplay -l
card 0: 88MT [TerraTec EWS 88MT], device 0: ICE1712 multi [ICE1712 multi]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: 88MT [TerraTec EWS 88MT], device 1: ICE1712 consumer [ICE1712
consumer]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: 88MT [TerraTec EWS 88MT], device 2: ICE1712 consumer (DS) [ICE1712
consumer (DS)]
  Subdevices: 6/6
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
card 1: 88MT_1 [TerraTec EWS 88MT], device 0: ICE1712 multi [ICE1712
multi]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: 88MT_1 [TerraTec EWS 88MT], device 1: ICE1712 consumer [ICE1712
consumer]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: 88MT_1 [TerraTec EWS 88MT], device 2: ICE1712 consumer (DS)
[ICE1712 consumer (DS)]
  Subdevices: 6/6
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5

/home/oliver> aplay -L
<SNIP>
cards 'cards.pcm'
front 'cards.pcm.front'
rear 'cards.pcm.rear'
center_lfe 'cards.pcm.center_lfe'
surround40 'cards.pcm.surround40'
surround51 'cards.pcm.surround51'
iec958 'cards.pcm.iec958'
spdif 'cards.pcm.iec958'
multi {
        type multi
        slaves.a.pcm 'hw:0,0,0'
        slaves.a.channels 8
        slaves.b.pcm 'hw:1,0,0'
        slaves.b.channels 8
        bindings.0.slave a
        bindings.0.channel 0
        bindings.1.slave a
        bindings.1.channel 1
        bindings.2.slave a
        bindings.2.channel 2
        bindings.3.slave a
        bindings.3.channel 3
        bindings.4.slave a
        bindings.4.channel 4
        bindings.5.slave a
        bindings.5.channel 5
        bindings.6.slave a
        bindings.6.channel 6
        bindings.7.slave a
        bindings.7.channel 7
        bindings.8.slave b
        bindings.8.channel 0
        bindings.9.slave b
        bindings.9.channel 1
        bindings.10.slave b
        bindings.10.channel 2
        bindings.11.slave b
        bindings.11.channel 3
        bindings.12.slave b
        bindings.12.channel 4
        bindings.13.slave b
        bindings.13.channel 5
        bindings.14.slave b
        bindings.14.channel 6
        bindings.15.slave b
        bindings.15.channel 7
}
mplug {
        type plug
        slave.pcm multi
}




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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: asoundrc problem
  2003-01-30 11:06   ` Oliver Schrempf
@ 2003-01-31 17:47     ` Takashi Iwai
  2003-02-03 11:06       ` Oliver Schrempf
  0 siblings, 1 reply; 18+ messages in thread
From: Takashi Iwai @ 2003-01-31 17:47 UTC (permalink / raw)
  To: Oliver Schrempf; +Cc: alsa-devel

At Thu, 30 Jan 2003 12:06:17 +0100 (CET),
Oliver Schrempf wrote:
> 
> On Thu, 30 Jan 2003, Takashi Iwai wrote:
> 
> > At Thu, 30 Jan 2003 09:34:13 +0100 (CET),
> > Oliver Schrempf wrote:
> > >
> > > Since my last mail where I sent my current settings I still have the
> > > problem, that I recieve the following error message
> > >
> > > arecord: main:462: audio open error: No such file or directory
> >
> > what shows if you run "aplay -L" and "aplay -l" ?
> > does pcm.multi appear there?
> OK, the modules where not loaded :-(
> (I'll kick the guy who touched my machine...)
> 
> Now again:
> /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)

also, try whether areocord (with -c 8) works on each card (hw:0 and
hw:1).


Takashi


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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: asoundrc problem
  2003-01-31 17:47     ` Takashi Iwai
@ 2003-02-03 11:06       ` Oliver Schrempf
  2003-02-03 11:33         ` Takashi Iwai
  0 siblings, 1 reply; 18+ messages in thread
From: Oliver Schrempf @ 2003-02-03 11:06 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

> > /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


> 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

Oli



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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: asoundrc problem
  2003-02-03 11:06       ` Oliver Schrempf
@ 2003-02-03 11:33         ` Takashi Iwai
  2003-02-03 13:40           ` Oliver Schrempf
  0 siblings, 1 reply; 18+ messages in thread
From: Takashi Iwai @ 2003-02-03 11:33 UTC (permalink / raw)
  To: Oliver Schrempf; +Cc: alsa-devel

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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: asoundrc problem
  2003-02-03 11:33         ` Takashi Iwai
@ 2003-02-03 13:40           ` Oliver Schrempf
  2003-02-04 12:30             ` Takashi Iwai
  0 siblings, 1 reply; 18+ messages in thread
From: Oliver Schrempf @ 2003-02-03 13:40 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

> it's the expected behavior, because the hardware doesn't support this
> format.  it suppors only S32_LE.

OK, I understand this, but when I use
% arecord -Dhw:0,0 -fS32_LE -r48000 foo.wav
I get
arecord: set_params:792: Channels count non available

Is this expected, too?

> but it seems that this is an alsa-lib bug although i can play
> 4-channel wav file using two consumer cards...
Hmm? Can I help here? I'm no expert in alsa-lib, but I can test on my
hardware. Let me know if you need something.
Thanks

Oli



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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: asoundrc problem
  2003-02-03 13:40           ` Oliver Schrempf
@ 2003-02-04 12:30             ` Takashi Iwai
  2003-02-04 12:56               ` Oliver Schrempf
  0 siblings, 1 reply; 18+ messages in thread
From: Takashi Iwai @ 2003-02-04 12:30 UTC (permalink / raw)
  To: Oliver Schrempf; +Cc: alsa-devel

At Mon, 3 Feb 2003 14:40:26 +0100 (CET),
Oliver Schrempf wrote:
> 
> > it's the expected behavior, because the hardware doesn't support this
> > format.  it suppors only S32_LE.
> 
> OK, I understand this, but when I use
> % arecord -Dhw:0,0 -fS32_LE -r48000 foo.wav
> I get
> arecord: set_params:792: Channels count non available
> 
> Is this expected, too?
 
yes.  the number of channels must be 10 for your card.

> > but it seems that this is an alsa-lib bug although i can play
> > 4-channel wav file using two consumer cards...
> Hmm? Can I help here? I'm no expert in alsa-lib, but I can test on my
> hardware. Let me know if you need something.

well, this might be because you specfied 8 channels instead of 10.
the hardware supports only 10 channels natively.

could you check whether 20 (10+10) channels work?


Takashi


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

^ permalink raw reply	[flat|nested] 18+ messages in thread

* Re: asoundrc problem
  2003-02-04 12:30             ` Takashi Iwai
@ 2003-02-04 12:56               ` Oliver Schrempf
  0 siblings, 0 replies; 18+ messages in thread
From: Oliver Schrempf @ 2003-02-04 12:56 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

On Tue, 4 Feb 2003, Takashi Iwai wrote:

>
> well, this might be because you specfied 8 channels instead of 10.
> the hardware supports only 10 channels natively.
>
> could you check whether 20 (10+10) channels work?

One interesting thing is, that it works with -Ddefault
There I can specify as many channels(1-10) as I want and it works.
With -Dhw:0,0 -c10 again there comes
set_params:792: Channels count non available

Can I find out what the alias default stands for?

I also tried to extend the multi slave to 2x10 Channels, but that doesn't
work either.

Oli



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

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2003-02-04 12:56 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-27 13:09 asoundrc problem 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
  -- strict thread matches above, loose matches on Subject: below --
2003-01-30  8:34 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
2003-02-03 13:40           ` Oliver Schrempf
2003-02-04 12:30             ` Takashi Iwai
2003-02-04 12:56               ` Oliver Schrempf

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.