pcm.cirrus { type hw card 0 device 0 } pcm.myhdmi { type hw card 1 device 0 } pcm.cirrusmixer { type dmix ipc_key 800 ipc_perm 0666 # allow other users ipc_key_add_uid true # for testing; see https://www.alsa-project.org/alsa-doc/alsa-lib/pcm_plugins.html slave { pcm "hw:0,0" period_time 0 period_size 1024 buffer_size 4096 rate 48000 # channels 2 } bindings { 0 0 1 1 } } pcm.cirrusmic { type dsnoop ipc_key 801 ipc_perm 0666 # allow other users ipc_key_add_uid true # for testing; see https://www.alsa-project.org/alsa-doc/alsa-lib/pcm_plugins.html slave { pcm "hw:0,0" period_time 0 period_size 1024 buffer_size 4096 rate 48000 channels 2 } bindings { 0 0 1 1 } } #pcm.!default { # type plug # slave.pcm { # @func getenv # vars [ DEFAULT_PCM_DEVICE ] # default "cirrusmixer" # } #} pcm.!default { type asym capture.pcm { type plug slave.pcm { @func getenv vars [ DEFAULT_CAPTURE_DEVICE ] default "cirrusmic" } } playback.pcm { type plug slave.pcm { @func getenv vars [ DEFAULT_PCM_DEVICE ] default "cirrusmixer" } } } ctl.!default { type hw card 0 } pcm.dsp0 { type plug slave.pcm "cirrus" } ctl.mixer0 { type hw card 0 }