[Alsa-user] using dmix causes silent output with snd-cs46xx (1.0.10rc1)
Brought to you by:
perex
From: Joel B. <bp...@gm...> - 2006-01-19 04:50:39
|
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 >=3D 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=3Dm CONFIG_SND_TIMER=3Dm CONFIG_SND_PCM=3Dm CONFIG_SND_HWDEP=3Dm CONFIG_SND_RAWMIDI=3Dm CONFIG_SND_SEQUENCER=3Dm CONFIG_SND_SEQ_DUMMY=3Dm CONFIG_SND_OSSEMUL=3Dy CONFIG_SND_MIXER_OSS=3Dm CONFIG_SND_PCM_OSS=3Dm CONFIG_SND_SEQUENCER_OSS=3Dy CONFIG_SND_GENERIC_DRIVER=3Dy CONFIG_SND_DUMMY=3Dm CONFIG_SND_VIRMIDI=3Dm CONFIG_SND_AC97_CODEC=3Dm CONFIG_SND_AC97_BUS=3Dm CONFIG_SND_CS46XX=3Dm CONFIG_SND_CS46XX_NEW_DSP=3Dy CONFIG_SND_USB_AUDIO=3Dm ... 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 |