Skip to content

Instantly share code, notes, and snippets.

@kentwait
Created January 19, 2019 15:49
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 kentwait/43abe144f86a20b4b042db55b600cf1a to your computer and use it in GitHub Desktop.
Save kentwait/43abe144f86a20b4b042db55b600cf1a to your computer and use it in GitHub Desktop.
# Add .asoundrc file
Copied from https://gist.github.com/AfzalivE/54214bf437ca1775b5b8e7934cc137db
```
# 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