Created
January 19, 2019 15:49
-
-
Save kentwait/43abe144f86a20b4b042db55b600cf1a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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