-
-
Save denmojo/22be858a88ee7dd736479476105309b9 to your computer and use it in GitHub Desktop.
ALSA hack to expose multi-app access to usb sound device
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pcm_slave.digirig { | |
pcm { | |
type hw | |
card Device | |
} | |
period_time 0 | |
buffer_size 8192 | |
} | |
pcm.digirig-dmix { | |
type dmix | |
ipc_key 2023041901 | |
slave "digirig" | |
bindings.0 0 | |
} | |
pcm.digirig-dsnoop { | |
type dsnoop | |
ipc_key 2023041902 | |
slave "digirig" | |
bindings.0 0 | |
} | |
pcm.digirig-rx { | |
type plug | |
slave.pcm "digirig-dsnoop" | |
hint.description "digirig RX audio plug" | |
} | |
pcm.digirig-tx { | |
type plug | |
slave.pcm "digirig-dmix" | |
hint.description "digirig TX audio plug" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Modify ~/.asound.rc for user or /etc/asound.conf to add these lines.