Enviado em 05/01/2023 - 02:28h
Boa galera
# Set the default backend card and device to the onboard Intel HDA codec; see
# /proc/asound/cards for the names of the cards in the system.
defaults.pcm.!card Intel
defaults.ctl.!card Intel
defaults.pcm.!device 0
defaults.ctl.!device 0
# Equalizer definition, uses dmix internally; use amixer in a script to adjust
# the equalizer boost/cut levels, or use the following command to adjust the
# levels interactively.
#
# alsamixer -D equal
#
ctl.equal {
type equal;
}
pcm.equal {
type equal;
slave.pcm "plug:dmix";
}
# The alsaequal plugin is not compatible with 32-bit programs on amd64, so it
# will crash them with the following message:
#
# Failed to load plugin "/usr/lib/ladspa/caps.so": /usr/lib/ladspa/caps.so: wrong ELF class: ELFCLASS64
#
# To get around this, the asymed definition takes two parameters: PLAY and
# CAPT, to direct the slave PCMs. These are controlled either by arguments
# in the slave definition (i.e. slave.pcm "asymed:dmix,dsnoop" ), or by
# environment variables (ALSA_ASYM_PLAY=dmix ALSA_ASYM_CAPT=dsnoop aplay ...)
pcm.asymed {
@args [ PLAY CAPT ]
@args.PLAY {
type string
default {
@func getenv
vars [
ALSA_ASYM_PLAY
]
default "equal"
}
}
@args.CAPT {
type string
default {
@func getenv
vars [
ALSA_ASYM_CAPT
]
default "dsnoop"
}
}
type asym;
playback.pcm $PLAY;
capture.pcm $CAPT;
}
# Set the default playback device to the above asymed soft-device
pcm.!default {
type plug;
slave.pcm asymed;
}
Atualizando o Passado: Linux no Lenovo G460 em 2025
aaPanel - Um Painel de Hospedagem Gratuito e Poderoso
O macete do Warsaw no Linux Mint e cia
Visualizar arquivos em formato markdown (ex.: README.md) pelo terminal
Dando - teoricamente - um gás no Gnome-Shell do Arch Linux
Como instalar o Google Cloud CLI no Ubuntu/Debian
Mantenha seu Sistema Leve e Rápido com a Limpeza do APT!
Procurando vídeos de YouTube pelo terminal e assistindo via mpv (2025)
Será que eu deveria apreender C/C++ para desenvolver para Linux? (4)