diff options
-rw-r--r-- | common/recipes-bsp/alsa-state/alsa-state/asound.conf | 44 |
1 files changed, 39 insertions, 5 deletions
diff --git a/common/recipes-bsp/alsa-state/alsa-state/asound.conf b/common/recipes-bsp/alsa-state/alsa-state/asound.conf index b8683a56..4ca52c99 100644 --- a/common/recipes-bsp/alsa-state/alsa-state/asound.conf +++ b/common/recipes-bsp/alsa-state/alsa-state/asound.conf @@ -1,8 +1,42 @@ pcm.!default { - type hw - card 1 + type asym + playback.pcm "dmixer" + capture.pcm "dsnooper" } -ctl.!default { - type hw - card 1 + +pcm.dmixer { + type dmix + ipc_key 1024 + slave { + pcm "hw:1,0" + period_time 0 + period_size 1024 + buffer_size 4096 + rate 44100 + } + bindings { + 0 0 + 1 1 + } +} + +pcm.dsnooper { + type dsnoop + ipc_key 1025 + slave { + pcm "hw:1,0" + period_time 0 + period_size 1024 + buffer_size 4096 + rate 44100 + } + bindings { + 0 0 + 1 1 + } +} + +ctl.dmixer { + type hw + card 0 } |