Files
dante_beacon/asoundrc.danteasrc

72 lines
1.8 KiB
Plaintext

# ============================================================
# DEP Dante RX -> ALSA Loopback is now done by DEP ALSA ASRC.
# So: NO alsaloop needed anymore.
#
# Apps read from hw:Loopback,1,0 via dsnoop fanout,
# then we split into 6 mono virtual devices.
# ============================================================
# ---- shared 6ch capture from Loopback with dsnoop fanout ----
pcm.dante_asrc_shared6 {
type dsnoop
ipc_key 1048577
ipc_key_add_uid true
ipc_perm 0666
slave {
pcm "hw:Loopback,1,0" # capture side of ALSA loopback
channels 6
rate 48000
format S16_LE
period_size 256
buffer_size 1024
}
hint { show on ; description "DEP RX (via ASRC) shared 6ch (loopback+dsnoop)" }
}
# ---- 6 mono devices (each maps one of the 6 channels) ----
# (Using route explicitly makes the intent very clear.)
pcm.dante_asrc_ch1 {
type route
slave { pcm "dante_asrc_shared6"; channels 6; }
ttable.0.0 1
hint { show on ; description "DEP RX CH1" }
}
pcm.dante_asrc_ch2 {
type route
slave { pcm "dante_asrc_shared6"; channels 6; }
ttable.0.1 1
hint { show on ; description "DEP RX CH2" }
}
pcm.dante_asrc_ch3 {
type route
slave { pcm "dante_asrc_shared6"; channels 6; }
ttable.0.2 1
hint { show on ; description "DEP RX CH3" }
}
pcm.dante_asrc_ch4 {
type route
slave { pcm "dante_asrc_shared6"; channels 6; }
ttable.0.3 1
hint { show on ; description "DEP RX CH4" }
}
pcm.dante_asrc_ch5 {
type route
slave { pcm "dante_asrc_shared6"; channels 6; }
ttable.0.4 1
hint { show on ; description "DEP RX CH5" }
}
pcm.dante_asrc_ch6 {
type route
slave { pcm "dante_asrc_shared6"; channels 6; }
ttable.0.5 1
hint { show on ; description "DEP RX CH6" }
}