: dmix not working with ice1712
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1659>
======================================================================
Reported By: jdthood
Assigned To:
======================================================================
Project: ALSA - lib Issue ID: 1659 Category: 0_general Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 12-18-2005 21:07 CET Last Modified: 12-18-2005 22:31 CET
======================================================================
Summary: dmix not working with ice1712
Description:
In Debian bug 342026 the submitter reports:
Quoted 1 line
After an upgrade today [to 1.0.10rc1?], the dmix plugin stopped
working.
Quoted 3 lines
$ 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
Quoted 1 line
ALSA lib pcm_dmix.c:831:(snd_pcm_dmix_open) unable to initialize
slave
Quoted 3 lines
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).
Quoted 24 lines
# 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:Quoted 8 lines
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:
Quoted 3 lines
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.
Issue History
Date Modified Username Field Change
======================================================================
12-18-05 21:07 jdthood New Issue 12-18-05 22:30 rlrevell File Added: ICE1712-dmix.patch 12-18-05 22:31 rlrevell Note Added: 0007072
======================================================================
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click