Hey there, El Sáb 10 Jul 2004 04:08, B. Douglas Hilton escribió: > First, why use xmms when Alsaplayer is so cool? Its really good IMHO. > Alsa is great, especially if you are a musician or work with midi or > such. Nothing beats it. I tried, the sound works like a charm...but I'll keep using xmms (some special features).
> For mplayer, hmm... mine works and is self compiled, make sure you > have your kernel source compiled and supposedly it will detect alsa > headers and such. Even if if has to use oss fallback that should > still work ok. Mine is working with alsa, my .mplayer/config(I have sarges alsa-headers installed): ao=alsa:default > It took me some tinkering around to get alsa working on my system but > it is definately superior to anything else around. If it even works > at all then thats a real good sign. I'm not saying that alsa doesn't works well. I think that alsa ROCKS!!!, but DMix support is not working as expected. For example: Depending on the sound card your /etc/asound.conf YMMV. > Tip: try killing esd if its running, there's some bug with it that it > grabs /dev/dsp and locks it so it really screws up alsa apps. I'm using Arts, no esd arround. Arts works nice through dmixed alsa, but some apps won't work well, JUK. > Tip2: compile your kernel with static sound, (no modules), debian > alsa will grumble a bit about no modules found but it all should > work. A static kernel sometimes isn't a bad idea for a laptop since > your hardware is known and immutable. I usually build all static > support for laptop internal devices and modules for pluggable things > like USB, serial, parallel, etc. I now discover is loading the alsa modules, but I'll try it out. Guess what, I found out what was the problem with xmms, it only happens with mp3 files, so I installed the mad plugin and it is working like a charm. Thanx for your time. > - Doug > > Nicolás Velásquez O. wrote: > >Hello there, > > > >My system: > >- Dell, Inspiron 5100 > >- Debian sarge > >- snd_intel8x0 > >- Self compiled kernel 2.6.7 > > > >I've had not so nice experiences (neither dmix nor asym) with it: > >- Using xmms, if there is a lot of disk usage, audio will stop > > playing. - Using (self compiled) mplayer, the audio won't play > > well. > > > >Solutions: (better solutions are welcome!!!!!!) > >- xmms, use xmms through arts (and arts through alsa) > >- MPlayer, give cache to the default alsa device. > > > >Solutions drawbacks: > >- xmms, arts ain't that good, some audio files will play lossy. > >- MPlayer, none. > > > >Links: > >http://alsa.opensrc.org/index.php?page=DmixPlugin > >http://alsa.opensrc.org/index.php?page=asym > > > > > > > >My /etc/asound.conf: > >#asym fun start here. we define one pcm device called "dmixed" > >pcm.dmixed { > > type dmix > > ipc_key 1025 > > slave { > > pcm "hw:0,0" # you cannot use a "plug" device > > #here,darn. > > period_time 0 > > period_size 1024 # must be power of 2 > > buffer_size 8192 # dito. It > > #format "S32_LE" > > #periods 128 # dito. > > #rate 8000 # with rate 8000 you *will* hear, > > # if ossmix is used :) > > } > > bindings { > > 0 0 > > 1 1 > > } > >} > > > >#one called "dsnooped" for capturing > >pcm.dsnooped { > > ipc_key 1027 > > type dsnoop > > slave.pcm "hw:0,0" > >} > > > >#and this is the real magic > >pcm.asymed { > > type asym > > playback.pcm "dmixed" > > capture.pcm "dsnooped" > >} > > > >#a quick plug plugin for above device to do the converting magic > >pcm.pasymed { > > type plug > > slave.pcm "asymed" > >} > > > >#a ctl device to keep xmms happy > >ctl.pasymed { > > type hw > > card 0 > >} > > > >#for aoss: > >pcm.dsp0 { > > type plug > > slave.pcm "asymed" > >} > > > >ctl.mixer0 { > > type hw > > card 0 > >} > > > ># alsa default card > >pcm.!default { > > type plug > > slave.pcm "asymed" > >} > >#done > > > >El Vie 09 Jul 2004 18:37, Chris Metcalf escribió: > >>Has anybody had a good experience getting the Dmix plugin working > >>well with ALSA? > >> > >>I'm trying to get my laptop (Thinkpad X31 using the snd_intel8x0 > >> ALSA module) to be able to play more than one wave channel at > >> once, but I'm not having much success. > >> > >>Any helpful direction (howtos, good/bad experiences, alternate > >>methods) would be appreciated. > >> > >>Thanks, > >>-- > >>Chris Metcalf > >>[EMAIL PROTECTED] > >>http://chrismetcalf.net -- Atentamente, Nicolás Velásquez Bogotá, Colombia (^) ASCII Ribbon Campaign X NO HTML/RTF in e-mail / \ NO Word docs in e-mail