Skip to content

Instantly share code, notes, and snippets.

@yoelrc88 yoelrc88/asound.conf
Last active Nov 21, 2018

Embed
What would you like to do?
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
You can’t perform that action at this time.