Hallo,

the good news: I managed to get dmix running with aoss! The bad news:
It doesn't work just right. Here's my relevant ~/.asoundrc:

        pcm.dsp0 {
                        type plug
                        slave.pcm "dmix"
        }

        ctl.mixer0 {
                        type hw
                        card 0
        }

I also definded default to be dmix, too: 


        pcm.!default{
                        type plug
                        slave.pcm "dmix"
        }

This way, I could run several alsaplayers and I could even start xmms
with the aoss hack like "aoss xmms". Xmms could play music, but it was
much too slow. The error is: 

$ aoss xmms

** WARNING **: SNDCTL_DSP_SPEED ioctl failed: No such file or directory

It was not possible to run alsaplayer with OSS output and aoss. 

$ aoss alsaplayer -o oss tender-lukas_nystrand-instruemental.mp3  
error setting sample_rate
failed to configure output device...trying OSS
error setting sample_rate
failed to configure output device...trying OSS

This looks like the same error. 

So question 1 is: Is there a way to fix this samplerate problem?

I could run sox with aoss, but then I could *only* run one instance of
sox alone without other apps acessing the device, which is not exactly
what dmix was made for. 

Another problem is, that dmix only allows hw-slaves. On the Midiman
Audiophile I thus cannot play some soundfiles, for example no mono
files, unless the app converts them to stereo files. 
This gives Q2: Is it planned or possible to specify plug-slaves for
dmix?

ciao
-- 
 Frank Barknecht                               _ ______footils.org__


-------------------------------------------------------
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise 
Linux in the Boardroom; in the Front Office; & in the Server Room 
http://www.enterpriselinuxforum.com
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to