Re: [Alsa-user] more than one sound dev
Brought to you by:
perex
From: Takashi I. <ti...@su...> - 2005-01-11 15:36:21
|
At Fri, 07 Jan 2005 22:20:33 +0100, Ole Jacob Taraldset wrote: > > On Friday 07 January 2005 20:02, Takashi Iwai wrote: > > At Thu, 6 Jan 2005 23:30:38 +0100, > > > > Frank Barknecht wrote: > > > Hallo, > > > > > > Ole Jacob Taraldset hat gesagt: // Ole Jacob Taraldset wrote: > > > > I have a FC3 box with a VIA8233 chipset. Fedora has configured one > > > > sound dev (/dev/dsp). Is it possible to create more devices, dsp1, dsp2 > > > > etc to be enable several programs to access the sound card > > > > simultaneously? I'm using KDE and arts is blocking /dev/dsp, so I would > > > > like a separate device for non KDE programs. > > > > > > This won't help. You'd still have only one soundcard. What you need to > > > do is use "dmix" whose setup is described on the ALSA wiki (and in > > > this list's archive) at http://alsa.opensrc.org, page "DmixPlugin" > > > > You don't have to use dmix with VIA8233, 8235 or 8237, since these > > chips support the multi-playback via DXS channels. > > > > The only exception is VIA8233A, which has no DXS support. > > Are you sure? At least it works for VIA8233. Well, I haven't tested on 8235 and 8237, though. > It seems my computer has a 8235: > [ojt@zappa ~]$ cat /proc/asound/cards > 0 [V8235 ]: VIA8233 - VIA 8235 > VIA 8235 at 0xd800, irq 10 > > But still I could use alsaplayer and arts at the same time. With dmix I can. > Do I have to set up something special to use the DXS channels (what are > they?). I'm on FC3 box and have the following: No. As default, all DXS volumes should be 100%. But you should check. > [ojt@zappa ~]$ cat /proc/asound/pcm > 00-00: VIA 8235 : VIA 8235 : playback 4 : capture 1 > 00-01: VIA 8235 : VIA 8235 : playback 1 : capture 1 > > Is this an indication of 2 "channels"? No, it has 4 streams, each of which has 2 channels. Make sure that all apps use default or [plug]hw:0 PCM device. The secondary device is for multi-channel playback and it has only a single stream. As a test, use run two aplay's at the same time, e.g. % aplay foo.wav & % aplay foo.wav If it works, the prolbem you see in arts and alsaplayer must be in their configurations. > How can I use them? I'm uable to > insert /dev/dsp or /dev/adsp (available in my /dev) in sound control in kde > control center. I don't understand this sentense. What does it have to do with your problem at all? Takashi |