[ALSA - lib 0001659]: dmix not working with ice1712

bugtrack
2006-01-02T22:07:15Z

Last Modified: 01-02-2006 23:07 CET
======================================================================
Summary: dmix not working with ice1712
Description:
In Debian bug 342026 the submitter reports:

> After an upgrade today [to 1.0.10rc1?], the dmix plugin stopped
working.
>
> $ mocp # or any other program trying to use alsa
> ALSA lib pcm_direct.c:812:(snd_pcm_direct_initialize_slave)
requested or auto-format is not available
> ALSA lib pcm_dmix.c:831:(snd_pcm_dmix_open) unable to initialize
slave
>
> My ~/.asoundrc is the example configuration for using dmix with the
> ICE1712 chip (found e.g. at
http://alsa.opensrc.org/index.php?page=DmixPlugin).
>
> # cat ~/.asoundrc
> # our ICE1712 dmix:
> pcm.ossmix {
> type dmix
> ipc_key 1024
> slave {
> pcm "hw:0,0"
> period_time 0
> period_size 1024
> buffer_size 4096 # buffer size < 6653, but pow(x, 2)
> rate 44100 # we want to play CDs only
> }
> bindings {
> 0 0
> 1 1
> }
> }
> # Everything shall be dmixed, so redefine "default":
> pcm.!default {
> type plug
> slave.pcm "ossmix"
> }
> # OSS via aoss should d(mix)stroyed:
> pcm.dsp0 {
> type plug
> slave.pcm "ossmix"
> }
> ctl.mixer0 {
> type hw
> card 0
> }

He says that this config worked in ALSA 1.0.9.

He later adds:

> Adding 'format S32_LE' in the original .asoundrc seems to have fixed
> the problem. Apparently the default format (for ice1712 or generally?)
> has been changed to something that doesn't work.

As always, see http://bugs.debian.org/342026 for the complete log.
======================================================================

----------------------------------------------------------------------
rlrevell - 12-18-05 22:31
----------------------------------------------------------------------
Remove your .asoundrc and apply the attached patch.

Maintainers, please apply for 1.0.11 release. Another user has confirmed
the patch fixes the problem.

----------------------------------------------------------------------
jdthood - 01-02-06 23:07
----------------------------------------------------------------------
I notice that this patch was not applied in 1.0.11rc2.