All pastes #52558 Raw Edit

Miscellany

public text v1 · immutable
#52558 ·published 2006-05-01 13:39 UTC
rendered paste body
.asoundrc :

# 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 yes
    slave {
        pcm "intel8x0"
        period_time 0
        period_size 256
        buffer_size 4096
        rate 48000
    }
}

# 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
    }
}

# 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
}


/usr/bin/skype :

aoss /opt/skype/skype.bin "$@" 2&>1 /dev/null