Great!!! It works!

Could anyone post to the alsa wiki this (corrected) asound.conf for example?

############## Card 0 ##############################################

# output software mixing
pcm.dmixer0 {
        type dmix
        ipc_key 5678292
        ipc_key_add_uid yes
        slave {
                pcm "hw:0,0"
                period_time 0
                period_size 128
                buffer_size 4192
                format S16_LE
                rate 48000
        }
}

# input software mixing
pcm.dsnooper0 {
        type dsnoop
        ipc_key 5778292
        ipc_key_add_uid yes
        slave {
                pcm "hw:0,0"
                period_time 0
                period_size 128
                buffer_size 4192
                format S16_LE
                rate 48000
        }
}

# full duplex software mixed device
pcm.asymed0 {
    type asym
    playback.pcm "dmixer0"
    capture.pcm "dsnooper0"
}

#for aoss:
pcm.dsp0 {
        type plug
        slave.pcm "asymed0"
}

ctl.mixer0 {
        type hw
        card 0
}

############### end of card 0 ######################################

############## Card 1 ##############################################

# output software mixing
pcm.dmixer1 {
        type dmix
        ipc_key 1678292
        ipc_key_add_uid yes
        slave {
                pcm "hw:1,0"
                period_time 0
                period_size 128
                buffer_size 4192
                format S16_LE
                rate 48000
        }
}

# input software mixing
pcm.dsnooper1 {
        type dsnoop
        ipc_key 1778292
        ipc_key_add_uid yes
        slave {
                pcm "hw:1,0"
                period_time 0
                period_size 128
                buffer_size 4192
                format S16_LE
                rate 48000
        }
}

# full duplex software mixed device
pcm.asymed1 {
    type asym
    playback.pcm "dmixer1"
    capture.pcm "dsnooper1"
}

#for aoss:
pcm.dsp1 {
        type plug
        slave.pcm "asymed1"
}

ctl.mixer1 {
        type hw
        card 1
}

############### end of card 1 ######################################


############### default section ####################################

# assign the default pcm to card 0
pcm.!default {
    type plug
    slave.pcm "asymed0"
}

#############  end of default section ##############################



Jaroslav Kysela ha scritto:
On Tue, 7 Feb 2006, EmIScA wrote:

  
ipc_key 5678292
ipc_key 5678291
    

Wrong. The difference between these two values should be at least 2.
One instance uses 2 ipc keys.

						Jaroslav

-----
Jaroslav Kysela <[EMAIL PROTECTED]>
Linux Kernel Sound Maintainer
ALSA Project, SUSE Labs


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

  

Reply via email to