All pastes #45256 Raw Edit

sound settings

public text v1 · immutable
#45256 ·published 2006-03-11 18:38 UTC
rendered paste body
$ cat /proc/asound/cards
0 [Live           ]: EMU10K1 - SBLive! [CT4620]
                     SBLive! [CT4620] (rev.5, serial:0x211102) at 0x9000, irq 18
1 [V8237          ]: VIA8237 - VIA 8237
                     VIA 8237 with ALC658 at 0xc800, irq 22

$ cat /etc/modules.conf
### update-modules: start processing /etc/modutils/alsa
# START
alias char-major-116 snd
alias char-major-14 soundcore
options snd snd_major=116 snd_cards_limit=2 snd_device_mode=0660 snd_device_gid=
29 snd_device_uid=0

# SBLive
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-osshree

# VIA xx82 (onboard)
alias sound-slot-1 snd-card-1
alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-1 snd-seq-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-8 snd-seq-oss
alias sound-service-1-12 snd-pcm-oss

alias snd-card-0 snd-emu10k1
options snd-card-emu10k1 enable

alias snd-card-1 snd-via82xx
options snd-via82xx index=0 enable

# END

### update-modules: end processing /etc/modutils/alsa

$ cat .asoundrc
pcm.!default {
type plug
slave.pcm "dmixer2"
}

pcm.duplex {
type asym
playback.pcm "dmixer"
capture.pcm "dsnooper"
}

pcm.dmixer {
type dmix
ipc_key 1024
slave {
        pcm "hw:0,0"
        period_time 0
        period_size 1024
        buffer_size 4096
        rate 44100
}
bindings {
0 0
1 1
}
}

pcm.dmixer2 {
type dmix
ipc_key 1025
slave {
        pcm "hw:1,0"
        period_time 0
        period_size 1024
        buffer_size 4096
        rate 44100
}
bindings {
0 0
1 1
}
}

pcm.dsnooper {
type dsnoop
ipc_key 1124
slave.pcm "hw:0,0"
}

ctl.dmixer {
type hw
card 0
}

ctl.dsnooper {
type hw
card 0
}

ctl.dmixer2 {
type hw
card 1
}

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

ctl.mixer0 {
type hw
card 0
}

pcm.dsp1 {
type plug
slave.pcm "dmixer2"
}

ctl.mixer1 {
type hw
card 1
}