Skip to content

Instantly share code, notes, and snippets.

@herrernst
Created March 4, 2018 07:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save herrernst/535eb49ba65ba9db6a8c5dfd30e4723f to your computer and use it in GitHub Desktop.
Save herrernst/535eb49ba65ba9db6a8c5dfd30e4723f to your computer and use it in GitHub Desktop.
alsa dmix raspberry pi hifiberry
pcm.hifiberry {
type hw card 0
}
pcm.!default {
type plug
slave.pcm "dmixer"
}
pcm.dmixer {
type dmix
ipc_key 1234 #some random unique
ipc_perm 0666 #allow mix with different users
slave {
pcm "hifiberry"
channels 2
# format S32_LE
rate 44100 # default would be 48000
}
}
ctl.dmixer {
type hw
card 0
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment