* Takashi Iwai ([EMAIL PROTECTED]) wrote:
> At Wed, 22 Oct 2003 08:38:57 -0400,
> Marcel wrote:
> > 
> > My CMI8738-MC6 cmipci card on the other computer is still yet to reconfigure
> > in the same way, but I'm more than confident it will succeed.  What I would
> > like with this card is to have both dmix and surround40 set as default.  Any
> > hints on how it could be done?
> 
> no dmix but surround40 exists for this card.
> 
> 
> Takashi

Well, unless I've done something wrong, dmix now works as well, using
ossmixed.

/etc/asound.conf:
 pcm.cmipci {
        type hw
        card 0
        #device 1
        }
 ctl.cmipci {
        type hw
        card 0
        #device 1
        }

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

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

 ctl.mixer0 {
    type hw
    card 0
    #device 1
    }

 pcm.ossmixed {
    type dmix
    ipc_key 28234    # must be unique for all dmix plugins!!!!
    slave {
        pcm "hw:0,1"
        #pcm "hw:0,0"
        period_time 0
        period_size 1024
        buffer_size 8192
        channels 4
        #format "S16_LE"
        #periods 128
        #rate 44100
        }
    bindings {
        0 0
        1 1
        2 2
        3 3
        }
    }
 ctl.ossmixed {
    type hw
    card 0
    #device 1
    }

/proc/asound/card0/pcm1p/sub0/hw_params:
access: MMAP_INTERLEAVED
format: S16_LE
subformat: STD
channels: 4
rate: 48000 (48000/1)
period_size: 1024
buffer_size: 8192
tick_time: 10000

/proc/asound/card0/cmipci:
C-Media PCI CMI8738-MC6 (model 55) at 0xd800, irq 10

00: 00 00 02 00
04: 14 ec 00 00
08: 0f 00 09 20
0c: 00 00 02 08
10: 80 00 00 00
14: 00 00 00 80
18: 00 00 c9 08
1c: dc e0 ee aa
20: 10 40 e0 00
24: 20 f1 ff 00
28: ff ff ff ff
2c: ff ff ff ff
30: 00 00 00 00
34: 00 00 00 00
38: 00 00 00 00
3c: 00 00 00 00


-------------------------------------------------------
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to