Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
seeed-voicecard/asound_2mic.conf
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
38 lines (30 sloc)
620 Bytes
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
| # The IPC key of dmix or dsnoop plugin must be unique | |
| # If 555555 or 666666 is used by other processes, use another one | |
| # use samplerate to resample as speexdsp resample is bad | |
| defaults.pcm.rate_converter "samplerate" | |
| pcm.!default { | |
| type asym | |
| playback.pcm "playback" | |
| capture.pcm "capture" | |
| } | |
| pcm.playback { | |
| type plug | |
| slave.pcm "dmixed" | |
| } | |
| pcm.capture { | |
| type plug | |
| slave.pcm "array" | |
| } | |
| pcm.dmixed { | |
| type dmix | |
| slave.pcm "hw:seeed2micvoicec" | |
| ipc_key 555555 | |
| } | |
| pcm.array { | |
| type dsnoop | |
| slave { | |
| pcm "hw:seeed2micvoicec" | |
| channels 2 | |
| } | |
| ipc_key 666666 | |
| } | |