Skip to content

Instantly share code, notes, and snippets.

@yoelrc88
Last active November 21, 2018 17:55
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 yoelrc88/8ed28bbd607a579c332dd15b06ee72ae to your computer and use it in GitHub Desktop.
Save yoelrc88/8ed28bbd607a579c332dd15b06ee72ae to your computer and use it in GitHub Desktop.
asound file using softvol
pcm.!default {
type asym
playback.pcm {
type plug
slave.pcm "speaker-softvol"
}
capture.pcm {
type plug
slave.pcm "mics-softvol"
}
}
pcm.speaker-softvol {
type softvol
slave {
pcm "voice-audio-jack"
}
control {
name "Audio Jack Ouput"
card 2
device 1
}
}
pcm.mics-softvol {
type softvol
slave {
pcm "voice-mics"
}
control {
name "Microphone Array"
card 2
device 0
}
}
pcm.voice-audio-jack {
type plug
slave {
pcm "hw:2,1"
}
}
pcm.pi-audio-jack {
type plug
slave {
pcm "hw:0,0"
}
}
pcm.voice-mics {
type plug
slave {
pcm "hw:2,0"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment