Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Janina Sajka <janina@rednote.net>
To: Takashi Iwai <tiwai@suse.de>
Cc: Janina Sajka <janina@rednote.net>, alsa-devel@lists.sourceforge.net
Subject: Re: No dmix with HDSP Multiface
Date: Mon, 28 Mar 2005 16:12:48 -0500	[thread overview]
Message-ID: <20050328211248.GG7520@rednote.net> (raw)
In-Reply-To: <s5hy8cel1mx.wl@alsa2.suse.de>

[-- 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"
}
 

  reply	other threads:[~2005-03-28 21:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2005-03-29 12:15         ` Takashi Iwai

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=20050328211248.GG7520@rednote.net \
    --to=janina@rednote.net \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=tiwai@suse.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox