Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# 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