Created
September 4, 2018 21:48
-
-
Save MatejLach/c93f52b650e8a184e39c946ed24ce04d to your computer and use it in GitHub Desktop.
Alsa config for Pi carwarings
This file contains hidden or 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
pcm.mic { | |
type plug | |
slave { | |
pcm "hw:1,0" | |
} | |
} | |
pcm.speakerbonnet { | |
type hw card 0 | |
} | |
pcm.dmixer { | |
type dmix | |
ipc_key 1024 | |
ipc_perm 0666 | |
slave { | |
pcm "speakerbonnet" | |
period_time 0 | |
period_size 1024 | |
buffer_size 8192 | |
rate 44100 | |
channels 2 | |
} | |
} | |
ctl.dmixer { | |
type hw card 0 | |
} | |
pcm.softvol { | |
type softvol | |
slave.pcm "dmixer" | |
control.name "PCM" | |
control.card 0 | |
} | |
ctl.softvol { | |
type hw card 0 | |
} | |
pcm.!default { | |
type plug | |
slave.pcm "softvol" | |
capture.pcm "mic" | |
playback.pcm "speakerbonnet" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment