Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* device names
@ 2003-10-19 18:30 James Courtier-Dutton
  2003-10-20  9:08 ` Clemens Ladisch
  0 siblings, 1 reply; 2+ messages in thread
From: James Courtier-Dutton @ 2003-10-19 18:30 UTC (permalink / raw)
  To: alsa-devel

I have 2 sound cards.
To output to front speakers of card0 I can do: -
front
or
front:0

For Card1
front:1

But for iec958 on Card1 if fails.
What name should I use for Card1 for IEC958 spdif digital out?

conf.c: parse_args() Parameter AES3 must be an integer.
conf.c: snd_config_expand() Parse arguments error: Invalid argument.
pcm.c: snd_pcm_open_noupdate() Unknown PCM 
iec958:AES0=0x6,AES1=0x82,AES2=0x0,AES3=0x2:1.
audio_alsa_out: snd_pcm_open() of 
iec958:AES0=0x6,AES1=0x82,AES2=0x0,AES3=0x2:1 failed: Invalid argument
audio_alsa_out: >>> check if another program don't already use PCM <<<

Cheers
James



-------------------------------------------------------
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise 
Linux in the Boardroom; in the Front Office; & in the Server Room 
http://www.enterpriselinuxforum.com

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

* Re: device names
  2003-10-19 18:30 device names James Courtier-Dutton
@ 2003-10-20  9:08 ` Clemens Ladisch
  0 siblings, 0 replies; 2+ messages in thread
From: Clemens Ladisch @ 2003-10-20  9:08 UTC (permalink / raw)
  To: James Courtier-Dutton; +Cc: alsa-devel

James Courtier-Dutton wrote:
> I have 2 sound cards.
> To output to front speakers of card0 I can do: -
> front
> or
> front:0
>
> For Card1
> front:1
>
> But for iec958 on Card1 if fails.
> What name should I use for Card1 for IEC958 spdif digital out?
>
> conf.c: parse_args() Parameter AES3 must be an integer.
> conf.c: snd_config_expand() Parse arguments error: Invalid argument.
> pcm.c: snd_pcm_open_noupdate() Unknown PCM
> iec958:AES0=0x6,AES1=0x82,AES2=0x0,AES3=0x2:1.
> audio_alsa_out: snd_pcm_open() of
> iec958:AES0=0x6,AES1=0x82,AES2=0x0,AES3=0x2:1 failed: Invalid argument

The correct result would have been
  iec958:CARD=1,AES0=0x6,AES1=0x82,AES2=0x0,AES3=0x2

Try using this (or "iec958:CARD=1") as device name.


HTH
Clemens




-------------------------------------------------------
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise 
Linux in the Boardroom; in the Front Office; & in the Server Room 
http://www.enterpriselinuxforum.com

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

end of thread, other threads:[~2003-10-20  9:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-19 18:30 device names James Courtier-Dutton
2003-10-20  9:08 ` Clemens Ladisch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox