Personal configuration files
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

92 lines
1.3 KiB

pcm.!default {
type plug
slave.pcm {
@func getenv
vars [ ALSA_DEFAULT_PCM ]
default pulse
}
}
# Control device to process audio data (for alsamixer and amixer)
ctl.!default {
@func refer
name { @func concat
strings [ "ctl."
{ @func getenv
vars [ ALSA_DEFAULT_CTL ]
default pulse
}
]
}
}
# PulseAudio integration
pcm.pulse {
type pulse
}
ctl.pulse {
type pulse
}
# Laptop integrated soundcard
pcm.primary {
type hw
card PCH
device 0
}
# External soundcard
pcm.secondary {
type hw
card Device
device 0
}
ctl.primary {
type hw
card PCH
}
ctl.secondary {
type hw
card Device
}
ctl.bluetooth {
type bluealsa
}
# Bluetooth headset
pcm.bluetooth {
# Combination of playback and capture PCM streams
# Slave PCMs can be defined asymmetrically
type asym
playback.pcm {
type bluealsa
device "70:BF:92:E2:A5:D7"
profile "a2dp"
}
capture.pcm {
type bluealsa
device "70:BF:92:E2:A5:D7"
profile "sco"
}
}
# Adds sndio support to ALSA applications that don't support it (only playback)
pcm.sndio {
type sndio
}
# Set default device for current PCM
defaults.pcm.!device {
@func getenv
vars [ ALSA_DEVICE ]
default 0
}
# Allows sound to play from multiple sources
pcm.dsp {
type plug
slave.pcm "dmix"
}