Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pcm.!default {
- type plug
- slave {
- pcm "hw:1,0"
- }
- }
- ctl.!default {
- type hw
- card 1
- }
- # Reusing "dmix", "dsnoop" and "plug" pcms defined in
- # /usr/share/alsa/alsa.conf
- # /usr/share/alsa/pcm/dmix.conf
- # /usr/share/alsa/pcm/dsnoop.conf
- # select what card to use by "dmix" and "dsnoop" by default
- # (unless ALSA_CARD environment variable is set)
- defaults.pcm.!card Set
- defaults.ctl.!card Set
- # define preamp pcm
- pcm.preamp {
- type softvol
- slave.pcm "dmix"
- control {
- name "Pre-Amp"
- card { @func refer name defaults.pcm.card }
- }
- min_dB -5.0
- max_dB 20.0
- resolution 6
- }
- # and build default playback and capture chain
- pcm.!default {
- type asym
- playback.pcm "plug:preamp"
- capture.pcm "plug:dsnoop"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement