* No dmix with HDSP Multiface
@ 2005-03-22 18:05 Janina Sajka
2005-03-23 14:14 ` Takashi Iwai
0 siblings, 1 reply; 6+ messages in thread
From: Janina Sajka @ 2005-03-22 18:05 UTC (permalink / raw)
To: alsa-devel
I have 1.0.9RC1 compiled and installed--but cannot get dmix to work. Am
I going about it wrong? Or are there still known issues with dmix using
RME hardware? Mine is a HDSP Multiface. Here's what I get:
#aplay -D dmix:SLAVE=\"hw:0,0\",RATE=48000 Any_Dream_Will_Do.wav
ALSA lib conf.c:3808:(parse_args) Unknown parameter SLAVE
ALSA lib conf.c:3930:(snd_config_expand) Parse arguments error: No such
file or directory
ALSA lib pcm.c:2070:(snd_pcm_open_noupdate) Unknown PCM
dmix:SLAVE="hw:0,0",RATE=48000
aplay: main:508: audio open error: No such file or directory
[root@concerto 12:59:57] ~
On the other hand, if I leave the arguments out, the file plays:
#aplay Any_Dream_Will_Do.wav
Playing WAVE 'Any_Dream_Will_Do.wav' : Signed 16 bit Little Endian, Rate
44100
Janina Sajka Phone: +1.202.494.7040
Partner, Capital Accessibility LLC http://www.CapitalAccessibility.Com
Chair, Accessibility Workgroup Free Standards Group (FSG)
janina@freestandards.org http://a11y.org
If Linux can't solve your computing problem, you need a different problem.
-------------------------------------------------------
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: No dmix with HDSP Multiface
2005-03-22 18:05 No dmix with HDSP Multiface Janina Sajka
@ 2005-03-23 14:14 ` Takashi Iwai
2005-03-23 15:59 ` Janina Sajka
0 siblings, 1 reply; 6+ messages in thread
From: Takashi Iwai @ 2005-03-23 14:14 UTC (permalink / raw)
To: Janina Sajka; +Cc: alsa-devel
At Tue, 22 Mar 2005 13:05:10 -0500,
Janina Sajka wrote:
>
> I have 1.0.9RC1 compiled and installed--but cannot get dmix to work. Am
> I going about it wrong? Or are there still known issues with dmix using
> RME hardware? Mine is a HDSP Multiface. Here's what I get:
>
> #aplay -D dmix:SLAVE=\"hw:0,0\",RATE=48000 Any_Dream_Will_Do.wav
> ALSA lib conf.c:3808:(parse_args) Unknown parameter SLAVE
> ALSA lib conf.c:3930:(snd_config_expand) Parse arguments error: No such
> file or directory
> ALSA lib pcm.c:2070:(snd_pcm_open_noupdate) Unknown PCM
> dmix:SLAVE="hw:0,0",RATE=48000
> aplay: main:508: audio open error: No such file or directory
> [root@concerto 12:59:57] ~
The dmix PCM definition was slightly changed recently. It no longer
takes SLAVE argument but CARD, DEV and SUBDEV. For hw:0,0, it's like
dmix:CARD=0,DEV=0,RATE=48000
The default card and device are both 0, and the default rate is 48000,
in the case above, you don't need to pass arguments. Just run like
% aplay -Dplug:dmix foo.wav
Takashi
-------------------------------------------------------
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: No dmix with HDSP Multiface
2005-03-23 14:14 ` Takashi Iwai
@ 2005-03-23 15:59 ` Janina Sajka
2005-03-23 17:20 ` Takashi Iwai
0 siblings, 1 reply; 6+ messages in thread
From: Janina Sajka @ 2005-03-23 15:59 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
Takashi Iwai writes:
> At Tue, 22 Mar 2005 13:05:10 -0500,
> Janina Sajka wrote:
> >
> > I have 1.0.9RC1 compiled and installed--but cannot get dmix to work. Am
> > I going about it wrong? Or are there still known issues with dmix using
> > RME hardware? Mine is a HDSP Multiface. Here's what I get:
> >... snip snip ...
> The dmix PCM definition was slightly changed recently. It no longer
> takes SLAVE argument but CARD, DEV and SUBDEV. For hw:0,0, it's like
> dmix:CARD=0,DEV=0,RATE=48000
>
> The default card and device are both 0, and the default rate is 48000,
> in the case above, you don't need to pass arguments. Just run like
>
> % aplay -Dplug:dmix foo.wav
Still no sound, though:
#aplay -Dplug:dmix Any_Dream_Will_Do.wav
ALSA lib pcm_direct.c:741:(snd_pcm_direct_initialize_slave) unable to
install hw params
ALSA lib pcm_dmix.c:728:(snd_pcm_dmix_open) unable to initialize slave
aplay: main:508: audio open error: Device or resource busy
PS: I'm also unable to address the mixer on the Multiface via amixer.
amixer contents includes:
numid=5,iface=HWDEP,name='Mixer'
; type=INTEGER,access=rw---,values=3,min=0,max=65536,step=1
: values=0,0,65535
But, this was set using hdspmixer. I cannot seem to divine what
incantation to use to affect anything on numid=5 from the command line.
Is this possibly related?
Janina
>
>
> Takashi
--
Janina Sajka Phone: +1.202.494.7040
Partner, Capital Accessibility LLC http://www.CapitalAccessibility.Com
Chair, Accessibility Workgroup Free Standards Group (FSG)
janina@freestandards.org http://a11y.org
If Linux can't solve your computing problem, you need a different problem.
-------------------------------------------------------
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: No dmix with HDSP Multiface
2005-03-23 15:59 ` Janina Sajka
@ 2005-03-23 17:20 ` Takashi Iwai
2005-03-28 21:12 ` Janina Sajka
0 siblings, 1 reply; 6+ messages in thread
From: Takashi Iwai @ 2005-03-23 17:20 UTC (permalink / raw)
To: Janina Sajka; +Cc: alsa-devel
At Wed, 23 Mar 2005 10:59:08 -0500,
Janina Sajka wrote:
>
> Takashi Iwai writes:
> > At Tue, 22 Mar 2005 13:05:10 -0500,
> > Janina Sajka wrote:
> > >
> > > I have 1.0.9RC1 compiled and installed--but cannot get dmix to work. Am
> > > I going about it wrong? Or are there still known issues with dmix using
> > > RME hardware? Mine is a HDSP Multiface. Here's what I get:
> > >... snip snip ...
>
> > The dmix PCM definition was slightly changed recently. It no longer
> > takes SLAVE argument but CARD, DEV and SUBDEV. For hw:0,0, it's like
> > dmix:CARD=0,DEV=0,RATE=48000
> >
> > The default card and device are both 0, and the default rate is 48000,
> > in the case above, you don't need to pass arguments. Just run like
> >
> > % aplay -Dplug:dmix foo.wav
>
> Still no sound, though:
>
> #aplay -Dplug:dmix Any_Dream_Will_Do.wav
> ALSA lib pcm_direct.c:741:(snd_pcm_direct_initialize_slave) unable to
> install hw params
You need to specify FORMAT=S32_LE in the case of HDSP.
Add the following to ~/.asoundrc:
mydmix {
type plug
slave.pcm "dmix:FORMAT=S32_LE"
}
Takashi
-------------------------------------------------------
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content. Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: No dmix with HDSP Multiface
2005-03-23 17:20 ` Takashi Iwai
@ 2005-03-28 21:12 ` Janina Sajka
2005-03-29 12:15 ` Takashi Iwai
0 siblings, 1 reply; 6+ messages in thread
From: Janina Sajka @ 2005-03-28 21:12 UTC (permalink / raw)
To: Takashi Iwai; +Cc: Janina Sajka, alsa-devel
[-- Attachment #1: Type: text/plain, Size: 1945 bytes --]
Takashi Iwai writes:
> At Wed, 23 Mar 2005 10:59:08 -0500,
> Janina Sajka wrote:
> >
> > Takashi Iwai writes:
> > > At Tue, 22 Mar 2005 13:05:10 -0500,
> > > Janina Sajka wrote:
> > > >
> > > > I have 1.0.9RC1 compiled and installed--but cannot get dmix to work. Am
> > > > I going about it wrong? Or are there still known issues with dmix using
> > > > RME hardware? Mine is a HDSP Multiface. Here's what I get:
> > > >... snip snip ...
> >
> > > The dmix PCM definition was slightly changed recently. It no longer
> > > takes SLAVE argument but CARD, DEV and SUBDEV. For hw:0,0, it's like
> > > dmix:CARD=0,DEV=0,RATE=48000
> > >
> > > The default card and device are both 0, and the default rate is 48000,
> > > in the case above, you don't need to pass arguments. Just run like
> > >
> > > % aplay -Dplug:dmix foo.wav
> >
> > Still no sound, though:
> >
> > #aplay -Dplug:dmix Any_Dream_Will_Do.wav
> > ALSA lib pcm_direct.c:741:(snd_pcm_direct_initialize_slave) unable to
> > install hw params
>
> You need to specify FORMAT=S32_LE in the case of HDSP.
> Add the following to ~/.asoundrc:
>
> mydmix {
> type plug
> slave.pcm "dmix:FORMAT=S32_LE"
> }
>
>
> Takashi
Regret to say still no response:
aplay -Dplug:dmix Any_Dream_Will_Do.wav
ALSA lib pcm_direct.c:741:(snd_pcm_direct_initialize_slave) unable to
install hw params
ALSA lib pcm_dmix.c:728:(snd_pcm_dmix_open) unable to initialize slave
aplay: main:508: audio open error: Device or resource busy
[root@concerto
Perhaps I misunderstand .asoundrc? Since that's very possible, I'm
attaching my current. Works to play directly and via spdif, but not
dmix
Thanks.
.
--
Janina Sajka Phone: +1.202.494.7040
Partner, Capital Accessibility LLC http://www.CapitalAccessibility.Com
Chair, Accessibility Workgroup Free Standards Group (FSG)
janina@freestandards.org http://a11y.org
If Linux can't solve your computing problem, you need a different problem.
[-- Attachment #2: .asoundrc --]
[-- Type: text/plain, Size: 479 bytes --]
pcm.hdsp {
type hw
card 0
}
ctl.hdsp {
type hw
card 0
}
pcm.hdsp_analog {
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 hdsp
}
pcm.hdsp_spdif {
type plug
ttable.0.16 1
ttable.1.17 1
slave.pcm hdsp
}
mydmix {
type plug
slave.pcm "dmix:FORMAT=S32_LE"
}
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: No dmix with HDSP Multiface
2005-03-28 21:12 ` Janina Sajka
@ 2005-03-29 12:15 ` Takashi Iwai
0 siblings, 0 replies; 6+ messages in thread
From: Takashi Iwai @ 2005-03-29 12:15 UTC (permalink / raw)
To: Janina Sajka; +Cc: alsa-devel
At Mon, 28 Mar 2005 16:12:48 -0500,
Janina Sajka wrote:
>
> [1 <text/plain; us-ascii (7bit)>]
> Takashi Iwai writes:
> > At Wed, 23 Mar 2005 10:59:08 -0500,
> > Janina Sajka wrote:
> > >
> > > Takashi Iwai writes:
> > > > At Tue, 22 Mar 2005 13:05:10 -0500,
> > > > Janina Sajka wrote:
> > > > >
> > > > > I have 1.0.9RC1 compiled and installed--but cannot get dmix to work. Am
> > > > > I going about it wrong? Or are there still known issues with dmix using
> > > > > RME hardware? Mine is a HDSP Multiface. Here's what I get:
> > > > >... snip snip ...
> > >
> > > > The dmix PCM definition was slightly changed recently. It no longer
> > > > takes SLAVE argument but CARD, DEV and SUBDEV. For hw:0,0, it's like
> > > > dmix:CARD=0,DEV=0,RATE=48000
> > > >
> > > > The default card and device are both 0, and the default rate is 48000,
> > > > in the case above, you don't need to pass arguments. Just run like
> > > >
> > > > % aplay -Dplug:dmix foo.wav
> > >
> > > Still no sound, though:
> > >
> > > #aplay -Dplug:dmix Any_Dream_Will_Do.wav
> > > ALSA lib pcm_direct.c:741:(snd_pcm_direct_initialize_slave) unable to
> > > install hw params
> >
> > You need to specify FORMAT=S32_LE in the case of HDSP.
> > Add the following to ~/.asoundrc:
> >
> > mydmix {
> > type plug
> > slave.pcm "dmix:FORMAT=S32_LE"
> > }
> >
> >
> > Takashi
> Regret to say still no response:
>
> aplay -Dplug:dmix Any_Dream_Will_Do.wav
^^^^^^^^^^^
-Dmymix
BTW, the above definition was wrong. It must be like:
pcm.mydmix {
type plug
slave.pcm "dmix:FORMAT=S32_LE"
}
Takashi
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-03-29 12:15 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-22 18:05 No dmix with HDSP Multiface Janina Sajka
2005-03-23 14:14 ` Takashi Iwai
2005-03-23 15:59 ` Janina Sajka
2005-03-23 17:20 ` Takashi Iwai
2005-03-28 21:12 ` Janina Sajka
2005-03-29 12:15 ` Takashi Iwai
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.