Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Lee Revell <rlrevell@joe-job.com>
To: alsa-user@lists.sourceforge.net
Cc: alsa-devel <alsa-devel@lists.sourceforge.net>
Subject: Re: [Alsa-user] dmix not working with intel8x0 (ICH4)
Date: Wed, 21 Sep 2005 03:05:59 -0400	[thread overview]
Message-ID: <1127286360.1421.5.camel@mindpipe> (raw)
In-Reply-To: <433101BA.9080805@nilsen.com>

This is a bit over my head, someone on alsa-devel can probably answer.

You can't easily "fix it" - softvol and dmix are incompatible so
ICH4.conf is incorrect.  You have to use one or the other for now.

Lee

On Wed, 2005-09-21 at 08:46 +0200, Morten Nilsen wrote:
> Lee Revell wrote:
> > On Tue, 2005-09-20 at 16:44 +0200, Morten Nilsen wrote:
> > 
> >>mortenn@onihime ~$ xmms
> >>Message: device: default
> >>ALSA lib pcm_direct.c:777:(snd_pcm_direct_initialize_slave) unable to 
> >>install hw params
> >>ALSA lib pcm_dmix.c:814:(snd_pcm_dmix_open) unable to initialize slave
> >>
> >>** WARNING **: alsa_setup(): Failed to open pcm device (default): 
> >>Inappropriate ioctl for device
> > 
> > OK it's the interaction with dmix and softvol.
> > 
> > alsa/alsa-lib/src/pcm/pcm_dmix.c:
> > 
> > ICH4.conf:
> > 
> > So these files disagree on whether dmix + softvol is legal.  
> > Who does snd_pcm_type(spcm) not trigger the assert?  
> > Did someone forget to add softvol to the list of types?
> 
> I did some poking about in pcm.c, and this wasn't enough to fix it, in 
> any case..
> 
> --- alsa-lib-1.0.9.org/src/pcm/pcm.c    2005-05-24 16:14:31.000000000 +0200
> +++ alsa-lib-1.0.9/src/pcm/pcm.c        2005-09-21 10:31:11.898017056 +0200
> @@ -1512,6 +1512,7 @@
>          PCMTYPE(LADSPA),
>          PCMTYPE(DMIX),
>          PCMTYPE(JACK),
> +       PCMTYPE(SOFTVOL),
>   };
> 
>   static const char *snd_pcm_subformat_names[] = {



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php

       reply	other threads:[~2005-09-21  7:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <431527EA.6000300@nilsen.com>
     [not found] ` <4318EBBD.8060000@nilsen.com>
     [not found]   ` <s5hfysjsevv.wl%tiwai@suse.de>
     [not found]     ` <431C8E81.1080701@nilsen.com>
     [not found]       ` <1125948816.1772.15.camel@mindpipe>
     [not found]         ` <431C9E94.6010408@nilsen.com>
     [not found]           ` <433018DE.4060607@nilsen.com>
     [not found]             ` <1127222378.20689.11.camel@mindpipe>
     [not found]               ` <4330203D.9040405@nilsen.com>
     [not found]                 ` <1127240311.20689.92.camel@mindpipe>
     [not found]                   ` <433101BA.9080805@nilsen.com>
2005-09-21  7:05                     ` Lee Revell [this message]
2005-09-29 12:54                       ` [Alsa-devel] Re: dmix not working with intel8x0 (ICH4) 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=1127286360.1421.5.camel@mindpipe \
    --to=rlrevell@joe-job.com \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=alsa-user@lists.sourceforge.net \
    /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