# autoloader aliases
alias char-major-116 snd
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
alias sound-slot-1 snd-card-1
alias sound-slot-2 snd-card-2
alias sound-slot-3 snd-card-3
alias sound-slot-4 snd-card-4
alias sound-slot-5 snd-card-5
alias sound-slot-6 snd-card-6
alias sound-slot-7 snd-card-7
above sound-slot-0 snd-pcm-oss snd-mixer-oss snd-seq-oss
above sound-slot-1 snd-pcm-oss snd-mixer-oss snd-seq-oss
above sound-slot-2 snd-pcm-oss snd-mixer-oss snd-seq-oss
above sound-slot-3 snd-pcm-oss snd-mixer-oss snd-seq-oss
above sound-slot-4 snd-pcm-oss snd-mixer-oss snd-seq-oss
above sound-slot-5 snd-pcm-oss snd-mixer-oss snd-seq-oss
above sound-slot-6 snd-pcm-oss snd-mixer-oss snd-seq-oss
above sound-slot-7 snd-pcm-oss snd-mixer-oss snd-seq-oss
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-oss
# Load optional modules above their base modules
above snd-pcm snd-pcm-oss
above snd-mixer snd-mixer-oss
above snd-seq snd-seq-oss snd-seq-midi
above snd-emu10k1 snd-emu10k1-synth
above snd-via82xx snd-seq
above snd-rawmidi snd-seq-midi
# Cause a script to be run after snd-*-synth module initialization
post-install snd-emu8000-synth /lib/alsa/modprobe-post-install snd-emu8000-synth
post-install snd-emu10k1-synth /lib/alsa/modprobe-post-install snd-emu10k1-synth
# Cause a script to be run after card driver module initialization
post-install snd-ad1816a /lib/alsa/modprobe-post-install snd-ad1816a
post-install snd-ad1848 /lib/alsa/modprobe-post-install snd-ad1848
post-install snd-adlib /lib/alsa/modprobe-post-install snd-adlib
post-install snd-ad1889 /lib/alsa/modprobe-post-install snd-ad1889
post-install snd-ali5451 /lib/alsa/modprobe-post-install snd-ali5451
post-install snd-als100 /lib/alsa/modprobe-post-install snd-als100
post-install snd-als300 /lib/alsa/modprobe-post-install snd-als300
post-install snd-als4000 /lib/alsa/modprobe-post-install snd-als4000
post-install snd-aoa /lib/alsa/modprobe-post-install snd-aoa
post-install snd-aoa-fabric-layout /lib/alsa/modprobe-post-install snd-aoa-fabric-layout
post-install snd-aoa-onyx /lib/alsa/modprobe-post-install snd-aoa-onyx
post-install snd-aoa-tas /lib/alsa/modprobe-post-install snd-aoa-tas
post-install snd-aoa-toonie /lib/alsa/modprobe-post-install snd-aoa-toonie
post-install snd-aoa-soundbus /lib/alsa/modprobe-post-install snd-aoa-soundbus
post-install snd-aoa-soundbus-i2s /lib/alsa/modprobe-post-install snd-aoa-soundbus-i2s
post-install snd-armaaci /lib/alsa/modprobe-post-install snd-armaaci
post-install snd-asihpi /lib/alsa/modprobe-post-install snd-asihpi
post-install snd-atiixp /lib/alsa/modprobe-post-install snd-atiixp
post-install snd-au1x00 /lib/alsa/modprobe-post-install snd-au1x00
post-install snd-au8810 /lib/alsa/modprobe-post-install snd-au8810
post-install snd-au8820 /lib/alsa/modprobe-post-install snd-au8820
post-install snd-au8830 /lib/alsa/modprobe-post-install snd-au8830
post-install snd-azt2320 /lib/alsa/modprobe-post-install snd-azt2320
post-install snd-azt3328 /lib/alsa/modprobe-post-install snd-azt3328
post-install snd-ca0106 /lib/alsa/modprobe-post-install snd-ca0106
post-install snd-cmi8330 /lib/alsa/modprobe-post-install snd-cmi8330
post-install snd-cmipci /lib/alsa/modprobe-post-install snd-cmipci
post-install snd-cs4231 /lib/alsa/modprobe-post-install snd-cs4231
post-install snd-cs4232 /lib/alsa/modprobe-post-install snd-cs4232
post-install snd-cs4236 /lib/alsa/modprobe-post-install snd-cs4236
post-install snd-cs4281 /lib/alsa/modprobe-post-install snd-cs4281
post-install snd-cs46xx /lib/alsa/modprobe-post-install snd-cs46xx
post-install snd-cs5535audio /lib/alsa/modprobe-post-install snd-cs5535audio
post-install snd-darla20 /lib/alsa/modprobe-post-install snd-darla20
post-install snd-darla24 /lib/alsa/modprobe-post-install snd-darla24
post-install snd-dt019x /lib/alsa/modprobe-post-install snd-dt019x
post-install snd-echo3g /lib/alsa/modprobe-post-install snd-echo3g
post-install snd-emu10k1x /lib/alsa/modprobe-post-install snd-emu10k1x
post-install snd-ens1370 /lib/alsa/modprobe-post-install snd-ens1370
post-install snd-ens1371 /lib/alsa/modprobe-post-install snd-ens1371
post-install snd-es1688 /lib/alsa/modprobe-post-install snd-es1688
post-install snd-es18xx /lib/alsa/modprobe-post-install snd-es18xx
post-install snd-es1938 /lib/alsa/modprobe-post-install snd-es1938
post-install snd-es1968 /lib/alsa/modprobe-post-install snd-es1968
post-install snd-es968 /lib/alsa/modprobe-post-install snd-es968
post-install snd-fm801 /lib/alsa/modprobe-post-install snd-fm801
post-install snd-fm801-tea575x /lib/alsa/modprobe-post-install snd-fm801-tea575x
post-install snd-gina20 /lib/alsa/modprobe-post-install snd-gina20
post-install snd-gina24 /lib/alsa/modprobe-post-install snd-gina24
post-install snd-gusclassic /lib/alsa/modprobe-post-install snd-gusclassic
post-install snd-gusextreme /lib/alsa/modprobe-post-install snd-gusextreme
post-install snd-gusmax /lib/alsa/modprobe-post-install snd-gusmax
post-install snd-harmony /lib/alsa/modprobe-post-install snd-harmony
post-install snd-hda-intel /lib/alsa/modprobe-post-install snd-hda-intel
post-install snd-hdsp /lib/alsa/modprobe-post-install snd-hdsp
post-install snd-hdspm /lib/alsa/modprobe-post-install snd-hdspm
post-install snd-ice1712 /lib/alsa/modprobe-post-install snd-ice1712
post-install snd-ice1724 /lib/alsa/modprobe-post-install snd-ice1724
post-install snd-indigo /lib/alsa/modprobe-post-install snd-indigo
post-install snd-indigodj /lib/alsa/modprobe-post-install snd-indigodj
post-install snd-indigoio /lib/alsa/modprobe-post-install snd-indigoio
post-install snd-intel8x0 /lib/alsa/modprobe-post-install snd-intel8x0
post-install snd-interwave /lib/alsa/modprobe-post-install snd-interwave
post-install snd-interwave-stb /lib/alsa/modprobe-post-install snd-interwave-stb
post-install snd-korg1212 /lib/alsa/modprobe-post-install snd-korg1212
post-install snd-layla20 /lib/alsa/modprobe-post-install snd-layla20
post-install snd-layla24 /lib/alsa/modprobe-post-install snd-layla24
post-install snd-maestro3 /lib/alsa/modprobe-post-install snd-maestro3
post-install snd-mia /lib/alsa/modprobe-post-install snd-mia
post-install snd-miro /lib/alsa/modprobe-post-install snd-miro
post-install snd-mixart /lib/alsa/modprobe-post-install snd-mixart
post-install snd-mona /lib/alsa/modprobe-post-install snd-mona
post-install snd-mpu401 /lib/alsa/modprobe-post-install snd-mpu401
post-install snd-msnd-pinnacle /lib/alsa/modprobe-post-install snd-msnd-pinnacle
post-install snd-mtpav /lib/alsa/modprobe-post-install snd-mtpav
post-install snd-mts64 /lib/alsa/modprobe-post-install snd-mts64
post-install snd-nm256 /lib/alsa/modprobe-post-install snd-nm256
post-install snd-opl3sa2 /lib/alsa/modprobe-post-install snd-opl3sa2
post-install snd-opti92x-ad1848 /lib/alsa/modprobe-post-install snd-opti92x-ad1848
post-install snd-opti92x-cs4231 /lib/alsa/modprobe-post-install snd-opti92x-cs4231
post-install snd-opti93x /lib/alsa/modprobe-post-install snd-opti93x
post-install snd-pc98-cs4232 /lib/alsa/modprobe-post-install snd-pc98-cs4232
post-install snd-pcsp /lib/alsa/modprobe-post-install snd-pcsp
post-install snd-pcxhr /lib/alsa/modprobe-post-install snd-pcxhr
post-install snd-pdaudiocf /lib/alsa/modprobe-post-install snd-pdaudiocf
post-install snd-pdplus /lib/alsa/modprobe-post-install snd-pdplus
post-install snd-portman2x4 /lib/alsa/modprobe-post-install snd-portman2x4
post-install snd-powermac /lib/alsa/modprobe-post-install snd-powermac
post-install snd-pxa2xx-ac97 /lib/alsa/modprobe-post-install snd-pxa2xx-ac97
post-install snd-pxa2xx-i2sound /lib/alsa/modprobe-post-install snd-pxa2xx-i2sound
post-install snd-riptide /lib/alsa/modprobe-post-install snd-riptide
post-install snd-rme32 /lib/alsa/modprobe-post-install snd-rme32
post-install snd-rme96 /lib/alsa/modprobe-post-install snd-rme96
post-install snd-rme9652 /lib/alsa/modprobe-post-install snd-rme9652
post-install snd-s3c2410 /lib/alsa/modprobe-post-install snd-s3c2410
post-install snd-sa11xx-uda1341 /lib/alsa/modprobe-post-install snd-sa11xx-uda1341
post-install snd-sb16 /lib/alsa/modprobe-post-install snd-sb16
post-install snd-sb8 /lib/alsa/modprobe-post-install snd-sb8
post-install snd-sbawe /lib/alsa/modprobe-post-install snd-sbawe
post-install snd-serial-u16550 /lib/alsa/modprobe-post-install snd-serial-u16550
post-install snd-sgalaxy /lib/alsa/modprobe-post-install snd-sgalaxy
post-install snd-sonicvibes /lib/alsa/modprobe-post-install snd-sonicvibes
post-install snd-sscape /lib/alsa/modprobe-post-install snd-sscape
post-install snd-sun-amd7930 /lib/alsa/modprobe-post-install snd-sun-amd7930
post-install snd-sun-cs4231 /lib/alsa/modprobe-post-install snd-sun-cs4231
post-install snd-sun-dbri /lib/alsa/modprobe-post-install snd-sun-dbri
post-install snd-trident /lib/alsa/modprobe-post-install snd-trident
post-install snd-usb-audio /lib/alsa/modprobe-post-install snd-usb-audio
post-install snd-usb-usx2y /lib/alsa/modprobe-post-install snd-usb-usx2y
post-install snd-vx222 /lib/alsa/modprobe-post-install snd-vx222
post-install snd-vxpocket /lib/alsa/modprobe-post-install snd-vxpocket
post-install snd-wavefront /lib/alsa/modprobe-post-install snd-wavefront
post-install snd-ymfpci /lib/alsa/modprobe-post-install snd-ymfpci
# Prevent abnormal drivers from grabbing index 0
options snd-bt87x index=-2
options snd-cx88_alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
