Skip to content

Instantly share code, notes, and snippets.

@anmolsaraf
Forked from AfzalivE/asoundrc
Created February 1, 2018 06:00
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 anmolsaraf/ada73445bae02e0b6cdcd734dab94d8b to your computer and use it in GitHub Desktop.
Save anmolsaraf/ada73445bae02e0b6cdcd734dab94d8b to your computer and use it in GitHub Desktop.
Ps3 eye + 3.5mm speaker asoundrc
# ps3 eye + 3.5mm speaker Raspberry Pi
## Suggested by http://julius.sourceforge.jp/forum/viewtopic.php?f=9&t=66
## Modified by https://github.com/afzalive
pcm.jack {
type hw
card ALSA
}
pcm.array {
type hw
card CameraB409241
}
pcm.softvol {
type softvol
slave.pcm "jack"
control {
name Master
card 0
}
}
pcm.cap {
type plug
slave.pcm "array"
slave.channels 4
ttable {
0.0 30.0
1.1 30.0
}
}
pcm.!default {
type asym
playback.pcm "plug:softvol"
capture.pcm {
type plug
slave.pcm "cap"
}
}
ctl.!default {
type hw
card 0
}
ctl.softvol {
type hw
card 0
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment