Hi, all--

I'm having some interesting trouble getting dmix to work properly with
snd-cs46xx, using the 1.0.10rc1 bundled with 2.6.14.3 kernel.  If I
run two instances of "alsaplayer -o alsa -d plug:dmix file.mp3", they
both appear to run properly (e.g., time and progress meters increase),
but no sound is produced.  Using dmix via asound.conf behaves
similarly.  Alsaplayer plays fine when allowed to have exclusive
access to the sound device (i.e., with no "-d plug:dmix"), but a
second such instance blocks until the first exits.

A subquestion here is: why is concurrency not working automatically,
without "-d plug:dmix"?  I read that my >= 1.0.9rc2 ALSA defaults to
using dmix for non-hardware-mixing soundcards, which includes my
CS4624-based Cirrus Logic soundcard (as per the soundcard matrix).  Is
that maybe the real problem, with the explicit dmix just confusing
things?

Anyway, here're my kernel-config *_SND_* entries (complete config at
http://kofight.com/config-2.6.14.3):

CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_HWDEP=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_SEQUENCER=m
CONFIG_SND_SEQ_DUMMY=m
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_GENERIC_DRIVER=y
CONFIG_SND_DUMMY=m
CONFIG_SND_VIRMIDI=m
CONFIG_SND_AC97_CODEC=m
CONFIG_SND_AC97_BUS=m
CONFIG_SND_CS46XX=m
CONFIG_SND_CS46XX_NEW_DSP=y
CONFIG_SND_USB_AUDIO=m

... and stuff from /proc/asound:

bash-3.00$ cat modules
0 snd_cs46xx
bash-3.00$ cat cards
0 [CS46xx         ]: CS46xx - Sound Fusion CS46xx
                     Sound Fusion CS46xx at 0x50100000/0x50000000, irq 11
bash-3.00$ cat devices
  8: [0- 0]: raw midi
 16: [0- 0]: digital audio playback
 24: [0- 0]: digital audio capture
  0: [0- 0]: ctl
 33:       : timer
bash-3.00$ cat ./card0/pcm0p/info
card: 0
device: 0
subdevice: 0
stream: PLAYBACK
id: CS46xx
name: CS46xx
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1
bash-3.00$

Oh, and an asound.conf (adapted from the Dmix wiki entry) is at
http://kofight.com/asound.conf.

Thanks in advance for any assistance.  Please let me know if any
further information, tests, etc. would be useful.

Joel


-------------------------------------------------------
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://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to