All pastes #47104 Raw Edit

Untitled

public text v1 · immutable
#47104 ·published 2006-03-27 02:42 UTC
rendered paste body
# Aliases
pcm.intel8x0 {
    type hw
    card 0
}

ctl.intel8x0 {
    type hw
    card 0
}

# Output stuff
pcm.dmixed {
    type dmix
    ipc_key 1024
    ipc_key_add_uid false   # let multiple users share
    ipc_perm 0666           # IPC permissions for multi user sharing (octal, default 0600)
    slave {
        pcm "intel8x0"
        period_time 0
        period_size 512
        buffer_size 8192
        rate 48000
    }
    bindings {
        0 0
        1 1
    }
}

# Input stuff
pcm.dsnooped {
    type dsnoop
    ipc_key 1027
    ipc_key_add_uid yes
    slave {
        pcm "intel8x0"
        period_time 0
        period_size 256
        buffer_size 4096
        rate 48000
    }
    bindings {
        0 0
        1 1
    }
}

# Full-duplex stuff
pcm.asymed {
    type asym
    playback.pcm "dmixed"
    capture.pcm "dsnooped"
}

ctl.asymed {
    type hw
    card 0
}

# Default ALSA device stuff
pcm.!default {
    type plug
    slave.pcm "asymed"
}

# OSS (aoss) stuff
pcm.dsp0 {
    type plug
    slave.pcm "asymed"
}

ctl.mixer0 {
    type hw
    card 0
}
# 031906 [PJ]> 0 [SI7012         ]: ICH - SiS SI7012 SiS SI7012 with AD1980 at 0xa400, irq 3
# i just removed ipc_key_add_uid yes, and added ipc_key_add_uid false   # let multiple 
# users share and ipc_perm 0666 # IPC permissions for multi user sharing (octal, default 
# 0600) To my both.asoundrc files
# Driver Version 1.0.10rc3 (Mon Nov 07 13:30:21 2005 UTC)
# used example asoundrc from http://alsa.opensrc.org/Hardware+mixing%2C+software+mixing