| pcm_slave.speaker_16khz_slave { |
| pcm "hw:0,0" |
| format S16_LE |
| channels 1 |
| rate 16000 |
| period_time 50000 |
| buffer_time 100000 |
| } |
| |
| pcm.speaker_16khz { |
| type dmix |
| ipc_key 1000 # any unique value |
| ipc_key_add_uid true |
| slave speaker_16khz_slave |
| } |
| |
| pcm_slave.speaker_any_format_slave { |
| pcm "speaker_16khz" |
| } |
| |
| pcm.speaker_any_format { |
| type plug |
| slave speaker_any_format_slave |
| } |
| |
| pcm_slave.mic_16khz_mono_slave { |
| pcm "hw:0,1" |
| format S16_LE |
| channels 1 |
| rate 16000 |
| period_time 50000 |
| buffer_time 100000 |
| } |
| |
| pcm.mic_16khz_mono { |
| type dsnoop |
| ipc_key 2000 # any unique value |
| ipc_key_add_uid true |
| slave mic_16khz_mono_slave |
| } |