Hi, all,

I just recognized my complete lack of understanding how alsa deals with its devices... 
;-/...after switching to 2.6 I now have the following:

0 [Dummy          ]: Dummy - Dummy 
1 [VirMIDI        ]: VirMIDI - VirMIDI
2 [CMI8738        ]: CMI8738 - C-Media PCI CMI8738

well, it works...with the dummy as default. Now what's the proper way to get my sound 
back to my ears? I tried in /etc/asound.conf:

        pcm.cmipci {
           type hw
           card 2
        }
        ctl.cmipci {
           type hw
           card 2
        }

        pcm.!default {
                type plug
                slave.pcm "dmix:SLAVE=\"hw:2,0\",RATE=44100"
        }

but didn't really know what I was doing...

I have a .asoundrc of 

        # ~/.asoundrc:
        pcm.!default {
                type plug
                slave.pcm "dmixer"
        }

        pcm.dsp0 {
                type plug
                slave.pcm "dmixer"
        }
        
        pcm.dmixer  {
                type dmix
                ipc_key 1024
                slave {
                        pcm "hw:2,0"
                        period_time 0
                        period_size 1024
                        buffer_size 8192
                        #periods 128
                        rate 44100
                }
                bindings {
                        0 0
                        1 1
                }
        }

        ctl.mixer0 {
                type hw
                card 2
        }


which works with mplayer and aoss mpg123, but not with wine...haven't tested games 
yet, 
but wine is most important to me as I'm completely spoled by using foobar2000... ;-)


Oh, and there is /etc/modules.d/alsa, which has 'alias snd-card-0 snd-cmipci' in it, 
along with a try to get the dummy to number 2...


I'm stuck! Any help appreciated...


Thorsten


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to