dmix fails to work by default OR with config file
My Ensoniq 1371 is a nice card, but unfortunately does not do hardware mixing. I'm using ALSA 1.0.10, so dmix should be enabled by default... But it's not, and I am unable to play more than one sound at a time without using a sound server suck as ARTS (which results in a nice little delay). I've tried asound.conf and .asoundrc files from various places, and not a single one got dmix working. What the heck is wrong with dmix?
|
Join the club :p
|
Yeah, I get it, this a common problem. Any idea why it exists?
|
If I did I'd have it working by now.
|
you don't say what you tried in .asoundrc try this (i'm sure it will need some tweeking but it's a start)
Code:
pcm.ens1371 { |
Okay, will try. Can that be put in asound.conf instead of .asoundrc though? Not a big problem, I just like to have ALSA stuff system-wide.
(In case it helps, the SB128 has a second channel - /dev/adsp. You have to manually tell applications to use this if you want them to use it when /dev/dsp is being used by something else, and it doesn't always work anyay.) |
Well, there's a slight difference... Namely, that I now have to use OSS emulation or I get really crappy sound. But I still can't play multiple sounds at once, as shown by my attempt to use aplay and JuK at the same time:
Code:
[proteus@localhost ~]$ aplay /usr/share/sounds/alsa/Front_Center.wav |
Nope, sorry, my bad... It works! :D Thanks!
Well, sort of works. I can play two .wav files at the same time, and get sound from both, BUT I can't use aplay or anything else that uses the audio directly when aRTs is running. How does aRTs manage to hog /dev/dsp so completely? Is there a way to make it share, now that I can support multiple channels? Edit: This is really damn weird - I can play two things at the same time with aplay, but BZFlag prevents XMMS from accessing /dev/dsp and vice versa. WTH? |
Quote:
and want everything to go tru arts (that's kinda what sound servers do) so arts can't be running after arts is not running try the alsa output on xmms basically /dev/dsp was before when there was sound mixing and polling and OSS and possibly even alsa oss emulation locks /dev/dsp or it can (i never really figured it out) -- this is why arts was written in the first place. to fix /dev/dsp so it could do software mixing -- so try to make sure everything uses alsa set the setting using gstreamer for gstreamer apps and make sure all soundservers are not running (arts) (esd) |
Reinstalled and switched to XFCE-svn, which doesn't use a sound server. Now dmix works without any config file. I have no idea why.:confused:
Anyway... Before, I had XMMS using the ALSA plugin, and BZFlag of course uses ALSA. I'm guessing that config files somewhere from the previous version of ALSA were preserved last time I upgraded. |
All times are GMT -5. The time now is 01:26 AM. |