No dmix with HDSP Multiface
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)
[email protected] 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
At Tue, 22 Mar 2005 13:05:10 -0500,
Quoted 5 lines · Janina Sajka
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:
Quoted 8 lines
#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
Quoted 8 lines · Takashi Iwai
At Tue, 22 Mar 2005 13:05:10 -0500,
Quoted 5 lines · Janina Sajka
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 ...
Quoted 8 lines
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=48000The 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
Quoted 3 lines
Takashi
Signature · 15 lines
Janina Sajka Phone: +1.202.494.7040 Partner, Capital Accessibility LLC http://www.CapitalAccessibility.Com Chair, Accessibility Workgroup Free Standards Group (FSG) [email protected] 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
At Wed, 23 Mar 2005 10:59:08 -0500,
Quoted 17 lines · Janina Sajka
Quoted 15 lines · Takashi Iwai
At Tue, 22 Mar 2005 13:05:10 -0500,
Quoted 5 lines · Janina Sajka
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=48000The 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
Quoted 7 lines
Quoted 1 line
% 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
Quoted 30 lines · Takashi Iwai
At Wed, 23 Mar 2005 10:59:08 -0500,
Quoted 17 lines · Janina Sajka
Quoted 15 lines · Takashi Iwai
At Tue, 22 Mar 2005 13:05:10 -0500,
Quoted 5 lines · Janina Sajka
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=48000The 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
Quoted 7 lines
Quoted 1 line
% 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 paramsYou need to specify FORMAT=S32_LE in the case of HDSP. Add the following to ~/.asoundrc:
Quoted 7 lines
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.
.
Signature · 7 lines
Janina Sajka Phone: +1.202.494.7040 Partner, Capital Accessibility LLC http://www.CapitalAccessibility.Com Chair, Accessibility Workgroup Free Standards Group (FSG) [email protected] http://a11y.org If Linux can't solve your computing problem, you need a different problem.
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"
}At Mon, 28 Mar 2005 16:12:48 -0500,
Quoted 39 lines · Janina Sajka
[1 <text/plain; us-ascii (7bit)>]
Quoted 36 lines · Takashi Iwai
At Wed, 23 Mar 2005 10:59:08 -0500,
Quoted 17 lines · Janina Sajka
Quoted 15 lines · Takashi Iwai
At Tue, 22 Mar 2005 13:05:10 -0500,
Quoted 5 lines · Janina Sajka
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=48000The 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
Quoted 7 lines
Quoted 1 line
% 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 paramsYou 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" }
Quoted 4 lines
Quoted 1 line
Takashi
Regret to say still no response:
aplay -Dplug:dmix Any_Dream_Will_Do.wav
^^^^^^^^^^^
-DmymixBTW, 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